summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-04-12 19:44:31 +0200
committerTycho <work.tycho+git@gmail.com>2014-04-12 19:44:31 +0200
commitb0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af (patch)
treeb2603049b01713feeffe4662b41c895063824d60
parentFixed member construction order. (diff)
downloadcuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.tar
cuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.tar.gz
cuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.tar.bz2
cuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.tar.lz
cuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.tar.xz
cuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.tar.zst
cuberite-b0dd3dca3d4a8b794719f37fc34dcf6e56ecc5af.zip
-rw-r--r--src/ChunkDef.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChunkDef.cpp b/src/ChunkDef.cpp
new file mode 100644
index 000000000..367f66ccc
--- /dev/null
+++ b/src/ChunkDef.cpp
@@ -0,0 +1,9 @@
+
+#include "Globals.h"
+
+#include "ChunkDef.h"
+
+// It appears that failing to have this definition causes link errors as cChunkDef::Height is not
+// defined. It also appears that we can have the initalizer in the declaration so it can be inlined
+// if the declaration is in a class????
+const int cChunkDef::Height;