summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-24 21:34:45 +0200
committermadmaxoft <github@xoft.cz>2014-04-24 21:53:41 +0200
commitc701adbd241ea84d6f64842e8015c1009a41d786 (patch)
treef79c837e19767ece8c914e3dd001f944079b0aeb /src/Globals.h
parentChanged cByteBuffer constructor to take a size_t instead of int. (diff)
downloadcuberite-c701adbd241ea84d6f64842e8015c1009a41d786.tar
cuberite-c701adbd241ea84d6f64842e8015c1009a41d786.tar.gz
cuberite-c701adbd241ea84d6f64842e8015c1009a41d786.tar.bz2
cuberite-c701adbd241ea84d6f64842e8015c1009a41d786.tar.lz
cuberite-c701adbd241ea84d6f64842e8015c1009a41d786.tar.xz
cuberite-c701adbd241ea84d6f64842e8015c1009a41d786.tar.zst
cuberite-c701adbd241ea84d6f64842e8015c1009a41d786.zip
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 26a0d87a9..3d7c9707c 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -264,9 +264,11 @@ template class SizeChecker<UInt16, 2>;
// Same as assert but in all Self test builds
#ifdef SELF_TEST
-#define assert_test(x) ( !!(x) || (assert(!#x), exit(1), 0))
+ #define assert_test(x) ( !!(x) || (assert(!#x), exit(1), 0))
#endif
+#define SharedPtr std::tr1::shared_ptr
+
@@ -296,7 +298,7 @@ T Clamp(T a_Value, T a_Min, T a_Max)
#ifndef TOLUA_TEMPLATE_BIND
-#define TOLUA_TEMPLATE_BIND(x)
+ #define TOLUA_TEMPLATE_BIND(x)
#endif