Use boost::compat::latch

This commit is contained in:
Peter Dimov
2023-06-26 10:32:52 +03:00
parent 01b2369700
commit 6bcf457b46
9 changed files with 15 additions and 120 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ namespace {
X x;
std::thread t1, t2;
boost::latch l(2);
boost::compat::latch l(2);
std::vector<std::string> strs(values.size());
t1 = std::thread([&l, &values, &x, &strs] {