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