From ef19ea1b00c7d777f12f5acd41b22b4d88e1866b Mon Sep 17 00:00:00 2001 From: FritzFlorian Date: Mon, 16 Sep 2019 12:03:52 +0200 Subject: [PATCH] Fix: App used old threading interface. --- app/test_for_new/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- libgit2 0.26.0