mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 10:25:39 +02:00
Try to fix build issue
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user