From 88c87a39455dcd62f1de8ff859db75b85f70c563 Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Wed, 20 Nov 2024 13:50:09 +0000 Subject: [PATCH] Update sn3d.h --- sn3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sn3d.h b/sn3d.h index 4b2f6edb0..037ac5740 100644 --- a/sn3d.h +++ b/sn3d.h @@ -180,7 +180,7 @@ __attribute__((__format__(__printf__, 1, 2))) inline auto printout(const char *f #ifdef __cpp_lib_atomic_ref #define atomicadd(var, val) \ - std::atomic_ref::type>(var).fetch_add(val, std::memory_order_relaxed); + std::atomic_ref::type>(var).fetch_add(val, std::memory_order_relaxed); #else // needed for Apple clang #define atomicadd(var, val) __atomic_fetch_add(&var, val, __ATOMIC_RELAXED);