summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/proxy/TestI.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-10-22 16:17:29 -0700
committerMark Spruiell <mes@zeroc.com>2009-10-22 16:17:29 -0700
commit87f97134a630e50b81cf05b54f5df779c822f8bc (patch)
tree408e9d1503138c5fe85168e713106c3a70644d93 /cpp/test/Ice/proxy/TestI.cpp
parentBug 4198 - chat demo does not deal with Glacier2 crashing (diff)
downloadice-87f97134a630e50b81cf05b54f5df779c822f8bc.tar.bz2
ice-87f97134a630e50b81cf05b54f5df779c822f8bc.tar.xz
ice-87f97134a630e50b81cf05b54f5df779c822f8bc.zip
fixing VC6 compilation failures
Diffstat (limited to 'cpp/test/Ice/proxy/TestI.cpp')
-rw-r--r--cpp/test/Ice/proxy/TestI.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/Ice/proxy/TestI.cpp b/cpp/test/Ice/proxy/TestI.cpp
index 14440ed68c4..702b9fe9568 100644
--- a/cpp/test/Ice/proxy/TestI.cpp
+++ b/cpp/test/Ice/proxy/TestI.cpp
@@ -39,5 +39,10 @@ bool
MyDerivedClassI::ice_isA(const std::string& s, const Ice::Current& current) const
{
_ctx = current.ctx;
+
+#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
+ return MyDerivedClass::ice_isA(s, current);
+#else
return Test::MyDerivedClass::ice_isA(s, current);
+#endif
}