diff options
author | tycho <work.tycho@gmail.com> | 2015-05-24 15:16:05 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-24 15:16:05 +0200 |
commit | 95b81b3ef1885f822907ae3f3999ef1cf543e105 (patch) | |
tree | 44c7b063dbefcd79a684a4afb4ba7de1daae50c2 /tests/ChunkData/Coordinates.cpp | |
parent | Disable -Werror for warnings in tools. (diff) | |
download | cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.tar cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.tar.gz cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.tar.bz2 cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.tar.lz cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.tar.xz cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.tar.zst cuberite-95b81b3ef1885f822907ae3f3999ef1cf543e105.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/ChunkData/Coordinates.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/ChunkData/Coordinates.cpp b/tests/ChunkData/Coordinates.cpp index b3c66dde5..de6686243 100644 --- a/tests/ChunkData/Coordinates.cpp +++ b/tests/ChunkData/Coordinates.cpp @@ -8,7 +8,7 @@ int main(int argc, char** argv) { class cMockAllocationPool : public cAllocationPool<cChunkData::sChunkSection> - { + { virtual cChunkData::sChunkSection * Allocate() { return new cChunkData::sChunkSection(); @@ -138,17 +138,7 @@ int main(int argc, char** argv) cChunkData buffer(Pool); buffer.SetBlock(0, 0, 0, 0x42); cChunkData copy(Pool); - #if __cplusplus < 201103L - copy = buffer; - #else copy = std::move(buffer); - #endif - testassert(copy.GetBlock(0, 0, 0) == 0x42); - #if __cplusplus < 201103L - copy = copy; - #else - copy = std::move(copy); - #endif testassert(copy.GetBlock(0, 0, 0) == 0x42); } |