diff --git a/app/test_for_new/main.cpp b/app/test_for_new/main.cpp index 51f454c..18596e1 100644 --- a/app/test_for_new/main.cpp +++ b/app/test_for_new/main.cpp @@ -7,6 +7,6 @@ int global = 0; int main() { // Try to use every feature, to trigger the prohibited use of new if found somewhere - auto t1 = start_thread([]() {}); + thread t1{[]() {}}; t1.join(); }