summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Proxy.h')
-rw-r--r--cpp/include/Ice/Proxy.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h
index e4e7cc44fa6..e3f8902ea98 100644
--- a/cpp/include/Ice/Proxy.h
+++ b/cpp/include/Ice/Proxy.h
@@ -34,8 +34,8 @@ namespace IceProxy
namespace Ice
{
-class Router;
class Locator;
+class Router;
}
@@ -44,11 +44,8 @@ class Locator;
namespace IceInternal
{
-ICE_API void incRef(::IceProxy::Ice::Router*);
-ICE_API void decRef(::IceProxy::Ice::Router*);
-
-ICE_API void incRef(::IceProxy::Ice::Locator*);
-ICE_API void decRef(::IceProxy::Ice::Locator*);
+ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Locator*);
+ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Router*);
class LocalExceptionWrapper;