summaryrefslogtreecommitdiffstats
path: root/vespamalloc/src/tests/allocfree/allocfree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespamalloc/src/tests/allocfree/allocfree.cpp')
-rw-r--r--vespamalloc/src/tests/allocfree/allocfree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespamalloc/src/tests/allocfree/allocfree.cpp b/vespamalloc/src/tests/allocfree/allocfree.cpp
index 80513579a2f..86050d4aee9 100644
--- a/vespamalloc/src/tests/allocfree/allocfree.cpp
+++ b/vespamalloc/src/tests/allocfree/allocfree.cpp
@@ -89,7 +89,7 @@ int Test::Main() {
for (; duration > 0; --duration) {
LOG(info, "%d seconds left...", duration);
- FastOS_Thread::Sleep(1000);
+ std::this_thread::sleep_for(1s);
}
pool.Close();
size_t numFreeOperations(0);