summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-12 17:49:37 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-12 17:49:37 +0100
commitef58b0eb54c700800597031c37c3e76fef87cdfb (patch)
tree03276194c5693d7da0d330b4427f18752be39a58 /src/Globals.h
parentRollback submodule change (diff)
downloadcuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.gz
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.bz2
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.lz
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.xz
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.zst
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.zip
Diffstat (limited to '')
-rw-r--r--src/Globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 2cd160677..6661aa476 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -236,7 +236,7 @@ template class SizeChecker<UInt16, 2>;
// Same as assert but in all Self test builds
#ifdef SELF_TEST
-#define assert_test(x) ( !!(x) || (assert(0), exit(1), 0))
+#define assert_test(x) ( !!(x) || (assert(!#x), exit(1), 0))
#endif
/// A generic interface used mainly in ForEach() functions