mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 02:45:40 +02:00
Try to fix build issue
This commit is contained in:
@@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
TEST_CASE( "ThreadAssertionTest",
|
TEST_CASE( "ThreadAssertionTest",
|
||||||
"[Multithreading]" ) {
|
"[Multithreading]" ) {
|
||||||
std::atomic_bool should_stop = false;
|
|
||||||
SECTION( "Basic" ) {
|
SECTION( "Basic" ) {
|
||||||
|
std::atomic_bool should_stop{false};
|
||||||
std::thread a([&should_stop] () {
|
std::thread a([&should_stop] () {
|
||||||
while (!should_stop) {
|
while (!should_stop) {
|
||||||
FAIL_CHECK(false);
|
FAIL_CHECK(false);
|
||||||
|
Reference in New Issue
Block a user