Skip to content

Commit 7e691df

Browse files
committed
Added a missing include
1 parent 05d411f commit 7e691df

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/scl/utils/fail_data_race_checker.test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Created by David Rowland on 11/02/2025.
33
//
44

5+
#include <print>
6+
57
// Use exit(1) as ctest seems to count a raised signal as a pass...
68
#define DATA_RACE_DETECTED { std::println ("ERROR: data race detected"); std::exit(1); }
79
#include "data_race_checker.test.h"

include/scl/utils/pass_data_race_checker.test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Created by David Rowland on 11/02/2025.
33
//
44

5+
#include <print>
6+
57
#define DATA_RACE_DETECTED { std::println ("ERROR: data race detected"); std::exit(1); }
68
#include "data_race_checker.test.h"
79

0 commit comments

Comments
 (0)