From 1f5978cbe30dd52854faf186cf52c2d4137601e5 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sat, 18 Jan 2025 11:35:50 -0600 Subject: [PATCH] Try to fix build issue --- tests/ExtraTests/X37-Multithreading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ExtraTests/X37-Multithreading.cpp b/tests/ExtraTests/X37-Multithreading.cpp index 953e8c30..eb338908 100644 --- a/tests/ExtraTests/X37-Multithreading.cpp +++ b/tests/ExtraTests/X37-Multithreading.cpp @@ -15,8 +15,8 @@ TEST_CASE( "ThreadAssertionTest", "[Multithreading]" ) { - std::atomic_bool should_stop = false; SECTION( "Basic" ) { + std::atomic_bool should_stop{false}; std::thread a([&should_stop] () { while (!should_stop) { FAIL_CHECK(false);