diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Proxy.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp index c147ec9e250..be9fa64e428 100644 --- a/cpp/src/Ice/Proxy.cpp +++ b/cpp/src/Ice/Proxy.cpp @@ -47,6 +47,14 @@ void IceInternal::decRef(::IceDelegateD::Ice::Object* p) { p->__decRef(); } ::Ice::ObjectPrx IceInternal::checkedCastImpl(const ObjectPrx& b, const string& f, const string& typeId) { +// +// Without this work-around, release VC7.0 build crash when FacetNotExistException +// is raised +// +#if defined(_MSC_VER) && (_MSC_VER == 1300) + ObjectPrx fooBar; +#endif + if(b) { ObjectPrx bb = b->ice_newFacet(f); |