From ad3014760b36f684968e585ea2d398f07f590978 Mon Sep 17 00:00:00 2001 From: al-mission-2016 Date: Wed, 15 Mar 2023 00:44:40 +0300 Subject: [PATCH] + for std::exchange Add header for std::exchange, otherwise this unit (and the whole lib consequently) cannot be compiled in some environments, e.g. ArchLinux/AUR -- all, as usual, depends on compilation order, compiler version etc. --- lib/static_thread_pool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/static_thread_pool.cpp b/lib/static_thread_pool.cpp index 989a6a93..0b91b9ca 100644 --- a/lib/static_thread_pool.cpp +++ b/lib/static_thread_pool.cpp @@ -12,6 +12,7 @@ #include #include #include +#include namespace {