diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-02 10:03:01 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-02 10:03:01 +0200 |
commit | 21d4f6679725eb19f800b134d7207cd0257302d0 (patch) | |
tree | 4f36325f12566d7b59a1c09ddee20dc6d2694768 /src/macros_and_utils.h | |
parent | 011898fab90103ff638c5e6608956b9817e7da13 (diff) | |
download | lanes-21d4f6679725eb19f800b134d7207cd0257302d0.tar.gz lanes-21d4f6679725eb19f800b134d7207cd0257302d0.tar.bz2 lanes-21d4f6679725eb19f800b134d7207cd0257302d0.zip |
C++ migration: more atomics
Diffstat (limited to 'src/macros_and_utils.h')
-rw-r--r-- | src/macros_and_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index 31027d6..e29e7fb 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h | |||
@@ -18,7 +18,7 @@ extern "C" { | |||
18 | #if USE_DEBUG_SPEW() | 18 | #if USE_DEBUG_SPEW() |
19 | extern char const* debugspew_indent; | 19 | extern char const* debugspew_indent; |
20 | #define INDENT_BEGIN "%.*s " | 20 | #define INDENT_BEGIN "%.*s " |
21 | #define INDENT_END , (U ? U->debugspew_indent_depth : 0), debugspew_indent | 21 | #define INDENT_END , (U ? U->debugspew_indent_depth.load(std::memory_order_relaxed) : 0), debugspew_indent |
22 | #define DEBUGSPEW_CODE(_code) _code | 22 | #define DEBUGSPEW_CODE(_code) _code |
23 | #define DEBUGSPEW_PARAM_COMMA( param_) param_, | 23 | #define DEBUGSPEW_PARAM_COMMA( param_) param_, |
24 | #define DEBUGSPEW_COMMA_PARAM( param_) , param_ | 24 | #define DEBUGSPEW_COMMA_PARAM( param_) , param_ |