Try to fix build issue

This commit is contained in:
Jeremy Rifkin 2025-01-18 11:35:50 -06:00
parent f1cb615f4e
commit 1f5978cbe3
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -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);