Use boost::compat::latch

This commit is contained in:
Peter Dimov committed 2023-06-26 10:32:52 +03:00
1 parent 01b2369700
commit 6bcf457b46
9 files changed
+15 -120

No files matched your search

+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] {