Skip to content
Snippets Groups Projects
Commit a89e4d62 authored by Bruno Pagani's avatar Bruno Pagani Committed by Adrien Béraud
Browse files

tests: fix building with GCC11

Fixes `error: ‘sleep_for’ is not a member of ‘std::this_thread’`
parent dbbfdaab
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "opendht/thread_pool.h" #include "opendht/thread_pool.h"
#include <atomic> #include <atomic>
#include <thread>
namespace test { namespace test {
CPPUNIT_TEST_SUITE_REGISTRATION(ThreadPoolTester); CPPUNIT_TEST_SUITE_REGISTRATION(ThreadPoolTester);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment