diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-10-22 16:17:29 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-10-22 16:17:29 -0700 |
commit | 87f97134a630e50b81cf05b54f5df779c822f8bc (patch) | |
tree | 408e9d1503138c5fe85168e713106c3a70644d93 /cpp/test/Ice/proxy/TestI.cpp | |
parent | Bug 4198 - chat demo does not deal with Glacier2 crashing (diff) | |
download | ice-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.cpp | 5 |
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 } |