summaryrefslogtreecommitdiff
path: root/cpp/test/include
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-09 23:09:20 +0100
committerJose <jose@zeroc.com>2015-12-09 23:09:20 +0100
commita00673a2c1d9634102f91b7c6ebdd453d55a708f (patch)
tree2097f43ff5a1516b353ed0e88cc7b4174a518a17 /cpp/test/include
parentWindows build fixes (diff)
downloadice-a00673a2c1d9634102f91b7c6ebdd453d55a708f.tar.bz2
ice-a00673a2c1d9634102f91b7c6ebdd453d55a708f.tar.xz
ice-a00673a2c1d9634102f91b7c6ebdd453d55a708f.zip
C++11 mapping server side input parameter fixes
Diffstat (limited to 'cpp/test/include')
-rw-r--r--cpp/test/include/TestCommon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/include/TestCommon.h b/cpp/test/include/TestCommon.h
index 37642613bc2..1341dd65f58 100644
--- a/cpp/test/include/TestCommon.h
+++ b/cpp/test/include/TestCommon.h
@@ -12,6 +12,12 @@
#include <IceUtil/IceUtil.h>
+#ifdef ICE_CPP11_MAPPING
+# define ICE_IN(T) T
+#else
+# define ICE_IN(T) const T##&
+#endif
+
#if defined(ICE_OS_WINRT) || (TARGET_OS_IPHONE)
# include <Ice/Initialize.h>
# include <Ice/Logger.h>