From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
tst-async.cc: include <thread> to silence error in GCC 11 New GCC 11 throws errors when compiling tst-async.cc possibly caused by removed include of <thread> in some of the headers directly or indirectly included by tst-async.cc. To fix this we explicitly include <thread> in tst-async.cc. Refs #1144 Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/tests/tst-async.cc b/tests/tst-async.cc --- a/tests/tst-async.cc +++ b/tests/tst-async.cc @@ -13,6 +13,7 @@ #include <osv/migration-lock.hh> #include <boost/test/unit_test.hpp> #include <future> +#include <thread> using namespace osv::clock::literals; using namespace async; -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/0000000000004a05fe05c4e97060%40google.com.
