summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-06-19 15:06:54 +0000
committerJose <jose@zeroc.com>2018-06-19 15:06:54 +0000
commit89c56a211f9ca3c7d9f938db60f2775fe29e4e1d (patch)
treedac5cd043ec0b8d993d01d8bb18822e302295de8 /cpp
parentC++ 98 test build fixes (diff)
downloadice-89c56a211f9ca3c7d9f938db60f2775fe29e4e1d.tar.bz2
ice-89c56a211f9ca3c7d9f938db60f2775fe29e4e1d.tar.xz
ice-89c56a211f9ca3c7d9f938db60f2775fe29e4e1d.zip
define test callbacks only with C++98 builds
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/Ice/scope/AllTests.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/scope/AllTests.cpp b/cpp/test/Ice/scope/AllTests.cpp
index d9cf0cdd662..624c34a916a 100644
--- a/cpp/test/Ice/scope/AllTests.cpp
+++ b/cpp/test/Ice/scope/AllTests.cpp
@@ -14,6 +14,8 @@
using namespace std;
+#ifndef ICE_CPP11_MAPPING
+
namespace Test
{
@@ -248,6 +250,8 @@ private:
}
+#endif
+
void
allTests(Test::TestHelper* helper)
{