mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-22 08:43:29 +01:00
Try to fix build issue
This commit is contained in:
parent
f1cb615f4e
commit
1f5978cbe3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user