diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-05-09 03:44:37 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-05-09 03:44:37 +0000 |
commit | 1a2a95715a8691953cf648ddf134efac58d724e8 (patch) | |
tree | 3e75a75b0d435870efb2920028a95403bcb84fd5 /cpp/include | |
parent | Fixed HP build (diff) | |
download | ice-1a2a95715a8691953cf648ddf134efac58d724e8.tar.bz2 ice-1a2a95715a8691953cf648ddf134efac58d724e8.tar.xz ice-1a2a95715a8691953cf648ddf134efac58d724e8.zip |
Fixed VC6 build
Diffstat (limited to 'cpp/include')
-rw-r--r-- | cpp/include/Ice/Proxy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h index f22ee8c32ef..d6bbad34003 100644 --- a/cpp/include/Ice/Proxy.h +++ b/cpp/include/Ice/Proxy.h @@ -391,14 +391,22 @@ template<typename P, typename Y> inline P checkedCast(const ::IceInternal::ProxyHandle<Y>& b) { Y* tag = 0; +#if defined(_MSC_VER) && (_MSC_VER < 1300) + return ::IceInternal::checkedCastHelper<P::element_type>(b, tag); +#else return ::IceInternal::checkedCastHelper<typename P::element_type>(b, tag); +#endif } template<typename P, typename Y> inline P uncheckedCast(const ::IceInternal::ProxyHandle<Y>& b) { Y* tag = 0; +#if defined(_MSC_VER) && (_MSC_VER < 1300) + return ::IceInternal::uncheckedCastHelper<P::element_type>(b, tag); +#else return ::IceInternal::uncheckedCastHelper<typename P::element_type>(b, tag); +#endif } template<typename P> inline P |