aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-16 15:38:53 +0200
committerStefan Boberg <[email protected]>2021-09-16 15:38:53 +0200
commitbcf5a60dafbb50509ddcdf92719c0161024adb78 (patch)
tree27a852171e044c8b1a638d73ca8483902338c0ef /zencore/include
parentFixed logging in structured cache (did not end up getting routed right) (diff)
downloadzen-bcf5a60dafbb50509ddcdf92719c0161024adb78.tar.xz
zen-bcf5a60dafbb50509ddcdf92719c0161024adb78.zip
Pass on ZEN_NOT_IMPLEMENTED arguments into the resulting ZEN_ASSERT macro
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/zencore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 73446b447..abea4ecc8 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -148,7 +148,7 @@ char (&ZenArrayCountHelper(const T (&)[N]))[N + 1];
#endif
#define ZEN_UNUSED(...) ((void)__VA_ARGS__)
-#define ZEN_NOT_IMPLEMENTED(...) ZEN_ASSERT(false)
+#define ZEN_NOT_IMPLEMENTED(...) ZEN_ASSERT(false, __VA_ARGS__)
#define ZENCORE_API // Placeholder to allow DLL configs in the future
ZENCORE_API bool IsPointerToStack(const void* ptr); // Query if pointer is within the stack of the currently executing thread