diff options
Diffstat (limited to 'cpp/include/Ice/ProxyF.h')
-rw-r--r-- | cpp/include/Ice/ProxyF.h | 57 |
1 files changed, 2 insertions, 55 deletions
diff --git a/cpp/include/Ice/ProxyF.h b/cpp/include/Ice/ProxyF.h index add97950f37..c931b6c4fae 100644 --- a/cpp/include/Ice/ProxyF.h +++ b/cpp/include/Ice/ProxyF.h @@ -10,8 +10,6 @@ #ifndef ICE_PROXY_F_H #define ICE_PROXY_F_H -#include <IceUtil/Shared.h> - #include <Ice/Config.h> #include <Ice/ProxyHandle.h> @@ -29,45 +27,6 @@ inline Object* upCast(Object* o) { return o; } } -namespace IceDelegate -{ - -namespace Ice -{ - -class Object; -inline Object* upCast(Object* o) { return o; } - -} - -} - -namespace IceDelegateM -{ - -namespace Ice -{ - -class Object; -inline Object* upCast(Object* o) { return o; } - -} - -} - -namespace IceDelegateD -{ - -namespace Ice -{ - -class Object; -inline Object* upCast(Object* o) { return o; } - -} - -} - namespace Ice { @@ -75,7 +34,9 @@ typedef IceInternal::ProxyHandle< ::IceProxy::Ice::Object> ObjectPrx; typedef ObjectPrx ObjectPrxPtr; } + #else // C++11 mapping + namespace Ice { @@ -92,20 +53,6 @@ template<typename P> } -namespace IceProxy -{ - -namespace Ice -{ - -// -// ObjectPrx alias for compatibility with C++98 mapping -// -typedef ::Ice::ObjectPrx Object; - -} - -} #endif #endif |