From 73dfe1fe81a4b60dc8b67a0caaba16d83c56e136 Mon Sep 17 00:00:00 2001 From: Tycho Date: Wed, 17 Sep 2014 18:59:45 +0100 Subject: [PATCH] Fix accedental c++11 --- tests/Redstone/creatable.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/Redstone/creatable.cpp b/tests/Redstone/creatable.cpp index 07b800f9b..f26ebe85c 100644 --- a/tests/Redstone/creatable.cpp +++ b/tests/Redstone/creatable.cpp @@ -144,16 +144,17 @@ public: } }; +class MockChest +{ +public: + BLOCKTYPE GetBlockType(void) const { return 0; } + int GetNumberOfPlayers(void) const { return 0; } +}; int main(int argc, char** argv) { - class MockChest - { - public: - BLOCKTYPE GetBlockType(void) const { return 0; } - int GetNumberOfPlayers(void) const { return 0; } - }; + MockWorld World;