diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-06-14 19:43:36 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-06-14 19:43:36 +0200 |
commit | 0310a50192fcbd4a9e5ec03c98a0d7f33457df54 (patch) | |
tree | 2eadcb6d26691e98215391330b4c23c3ce3f798a /tests/ChunkData/CopyBlocks.cpp | |
parent | fixed compile (diff) | |
download | cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.gz cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.bz2 cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.lz cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.xz cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.zst cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/ChunkData/CopyBlocks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ChunkData/CopyBlocks.cpp b/tests/ChunkData/CopyBlocks.cpp index 7f8f66c4d..db3d391c3 100644 --- a/tests/ChunkData/CopyBlocks.cpp +++ b/tests/ChunkData/CopyBlocks.cpp @@ -18,13 +18,13 @@ int main(int argc, char ** argv) { // Set up a cChunkData with known contents - all blocks 0x01, all metas 0x02: class cStarvationCallbacks - : public cAllocationPool<cChunkData::sChunkSection,1600>::cStarvationCallbacks + : public cAllocationPool<cChunkData::sChunkSection, 1600>::cStarvationCallbacks { virtual void OnStartingUsingBuffer() {} virtual void OnStopUsingBuffer() {} virtual void OnBufferEmpty() {} }; - cAllocationPool<cChunkData::sChunkSection,1600> Pool(std::auto_ptr<cAllocationPool<cChunkData::sChunkSection,1600>::cStarvationCallbacks>(new cStarvationCallbacks())); + cAllocationPool<cChunkData::sChunkSection, 1600> Pool(std::auto_ptr<cAllocationPool<cChunkData::sChunkSection, 1600>::cStarvationCallbacks>(new cStarvationCallbacks())); cChunkData Data(Pool); cChunkDef::BlockTypes BlockTypes; cChunkDef::BlockNibbles BlockMetas; |