summaryrefslogtreecommitdiff
path: root/asl/base/utility.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-20 23:47:02 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-20 23:47:02 +0100
commitaa73023bee1aebc745188e54039d3bf567be97e3 (patch)
treee4d3385a7e9eedfff7b36a8237771441668ca7cc /asl/base/utility.hpp
parent409ef997e2ff99b2bbea89ea61d10fc8e26dac96 (diff)
Use intrusive list in logging, and add defer
Diffstat (limited to 'asl/base/utility.hpp')
-rw-r--r--asl/base/utility.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/asl/base/utility.hpp b/asl/base/utility.hpp
index c03554f..b3fb36b 100644
--- a/asl/base/utility.hpp
+++ b/asl/base/utility.hpp
@@ -92,4 +92,7 @@ constexpr bool is_pow2(isize_t v)
ASL_DEFAULT_COPY(T) \
ASL_DEFAULT_MOVE(T)
+#define ASL_CONCAT2(A, B) A##B
+#define ASL_CONCAT(A, B) ASL_CONCAT2(A, B)
+
} // namespace asl