summaryrefslogtreecommitdiff
path: root/asl/base/assert.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-06 22:56:56 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-06 22:56:56 +0100
commitf0cccbe3285c039553e1fd8b5a5c7830d6087974 (patch)
tree57a0902484ec5c8ba3b9a8e7089ed42f58b6a580 /asl/base/assert.cpp
parent54affafd86e2b7f387345c08e8c7285c775d75e5 (diff)
Replace ASL_MOVE, ASL_FWD, and ASL_FWD_LIKE by their std:: equivalent
This is because some compiler stuff and diagnostics tools rely on those symboles being what they are.
Diffstat (limited to 'asl/base/assert.cpp')
-rw-r--r--asl/base/assert.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/asl/base/assert.cpp b/asl/base/assert.cpp
index ecda20d..b96836b 100644
--- a/asl/base/assert.cpp
+++ b/asl/base/assert.cpp
@@ -4,7 +4,12 @@
#include "asl/base/assert.hpp"
+#include "asl/base/meta.hpp"
+
+// NOLINTNEXTLINE(*-non-const-global-variables)
static asl::AssertFailureHandler* s_handler = nullptr;
+
+// NOLINTNEXTLINE(*-non-const-global-variables)
static void* s_user = nullptr;
void asl::set_assert_failure_handler(AssertFailureHandler handler, void* user)