summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/TestI.cpp')
-rw-r--r--cpp/test/Ice/operations/TestI.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp
index e69e296c432..b5ba645d9ab 100644
--- a/cpp/test/Ice/operations/TestI.cpp
+++ b/cpp/test/Ice/operations/TestI.cpp
@@ -11,6 +11,9 @@
#include <TestI.h>
#include <TestCommon.h>
#include <functional>
+#ifdef __BCPLUSPLUS__
+# include <iterator>
+#endif
MyDerivedClassI::MyDerivedClassI(const Ice::ObjectAdapterPtr& adapter, const Ice::Identity& identity) :
_adapter(adapter),
@@ -389,5 +392,9 @@ bool
TestCheckedCastI::ice_isA(const std::string& s, const Ice::Current& current) const
{
_ctx = current.ctx;
+#ifdef __BCPLUSPLUS__
+ return Test::TestCheckedCast::ice_isA(s, current);
+#else
return TestCheckedCast::ice_isA(s, current);
+#endif
}