aboutsummaryrefslogtreecommitdiff
path: root/src/common.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hh')
-rw-r--r--src/common.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hh b/src/common.hh
index a8f1460..a22a511 100644
--- a/src/common.hh
+++ b/src/common.hh
@@ -22,7 +22,7 @@ typedef uint64_t uint64;
typedef uintptr_t uintptr;
typedef size_t usize;
-#define STATIC_ASSERT(expr) static_assert((expr), "static assertion failed: " #expr)
+#define STATIC_ASSERT(expr) static_assert((expr), #expr)
#define NARRAY(arr) (int)(sizeof(arr) / sizeof(arr[0]))
#define ISPOW2(x) ((x) != 0 && ((x) & ((x) - 1)) == 0)
#define KB(x) ((usize)(x) << 10)