diff options
author | worktycho <work.tycho@gmail.com> | 2014-06-16 18:37:07 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-06-16 18:37:07 +0200 |
commit | 4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f (patch) | |
tree | dccc512f48903e55086ad9624cd2f98dba1df6f9 /src/ChunkDef.cpp | |
parent | Fixed gcc compilation. (diff) | |
parent | Fixed link errors (diff) | |
download | cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.tar cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.tar.gz cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.tar.bz2 cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.tar.lz cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.tar.xz cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.tar.zst cuberite-4fddbf9dfc9375a2ef1da8a0fe68cf0f8b09187f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkDef.cpp | 9 |
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; |