diff --git a/tests/cpp11_condition_variable/main.cpp b/tests/cpp11_condition_variable/main.cpp index 5276e5c9f7..d97b846233 100644 --- a/tests/cpp11_condition_variable/main.cpp +++ b/tests/cpp11_condition_variable/main.cpp @@ -79,7 +79,6 @@ int main() { thread t1(waits); thread t2(waits); thread t3(waits); - thread t4(waits); thread([&m, &cv] { unique_lock lk(m); cv.notify_all(); @@ -87,7 +86,6 @@ int main() { t1.join(); t2.join(); t3.join(); - t4.join(); } puts("Done\n");