summaryrefslogtreecommitdiffstats
path: root/tests/ChunkData
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-14 19:43:36 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-14 19:43:36 +0200
commit0310a50192fcbd4a9e5ec03c98a0d7f33457df54 (patch)
tree2eadcb6d26691e98215391330b4c23c3ce3f798a /tests/ChunkData
parentfixed compile (diff)
downloadcuberite-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 'tests/ChunkData')
-rw-r--r--tests/ChunkData/ArraytoCoord.cpp4
-rw-r--r--tests/ChunkData/Coordinates.cpp4
-rw-r--r--tests/ChunkData/Copies.cpp4
-rw-r--r--tests/ChunkData/CopyBlocks.cpp4
-rw-r--r--tests/ChunkData/creatable.cpp4
5 files changed, 10 insertions, 10 deletions
diff --git a/tests/ChunkData/ArraytoCoord.cpp b/tests/ChunkData/ArraytoCoord.cpp
index 80bcc5283..3f22d239a 100644
--- a/tests/ChunkData/ArraytoCoord.cpp
+++ b/tests/ChunkData/ArraytoCoord.cpp
@@ -7,13 +7,13 @@
int main(int argc, char** argv)
{
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()));
{
// Test first segment
diff --git a/tests/ChunkData/Coordinates.cpp b/tests/ChunkData/Coordinates.cpp
index d5abbb143..66fab46ab 100644
--- a/tests/ChunkData/Coordinates.cpp
+++ b/tests/ChunkData/Coordinates.cpp
@@ -7,13 +7,13 @@
int main(int argc, char** argv)
{
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 buffer(Pool);
diff --git a/tests/ChunkData/Copies.cpp b/tests/ChunkData/Copies.cpp
index 6f5d40792..4a672380f 100644
--- a/tests/ChunkData/Copies.cpp
+++ b/tests/ChunkData/Copies.cpp
@@ -7,13 +7,13 @@
int main(int argc, char** argv)
{
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 buffer(Pool);
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;
diff --git a/tests/ChunkData/creatable.cpp b/tests/ChunkData/creatable.cpp
index 0dde8cf3b..2bb61b7ce 100644
--- a/tests/ChunkData/creatable.cpp
+++ b/tests/ChunkData/creatable.cpp
@@ -5,13 +5,13 @@
int main(int argc, char** argv)
{
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 buffer(Pool);
return 0;
}