diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-03-23 16:37:45 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-03-23 16:37:45 +0000 |
commit | dd66c50ce1cd9c8fc45d286d68c059e35073de0d (patch) | |
tree | cabb1fd247cefdf130f221c04d1eb8952ec46672 /cpp/src/Ice/Proxy.cpp | |
parent | fix timestamp string (diff) | |
download | ice-dd66c50ce1cd9c8fc45d286d68c059e35073de0d.tar.bz2 ice-dd66c50ce1cd9c8fc45d286d68c059e35073de0d.tar.xz ice-dd66c50ce1cd9c8fc45d286d68c059e35073de0d.zip |
Bug 1873.
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r-- | cpp/src/Ice/Proxy.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp index 2ad7d17e5da..d171d223ea8 100644 --- a/cpp/src/Ice/Proxy.cpp +++ b/cpp/src/Ice/Proxy.cpp @@ -30,18 +30,10 @@ using namespace std; using namespace Ice; using namespace IceInternal; -void IceInternal::incRef(::IceProxy::Ice::Object* p) { p->__incRef(); } -void IceInternal::decRef(::IceProxy::Ice::Object* p) { p->__decRef(); } - -void IceInternal::incRef(::IceDelegate::Ice::Object* p) { p->__incRef(); } -void IceInternal::decRef(::IceDelegate::Ice::Object* p) { p->__decRef(); } - -void IceInternal::incRef(::IceDelegateM::Ice::Object* p) { p->__incRef(); } -void IceInternal::decRef(::IceDelegateM::Ice::Object* p) { p->__decRef(); } - -void IceInternal::incRef(::IceDelegateD::Ice::Object* p) { p->__incRef(); } -void IceInternal::decRef(::IceDelegateD::Ice::Object* p) { p->__decRef(); } - +IceUtil::Shared* IceInternal::upCast(::IceProxy::Ice::Object* p) { return p; } +IceUtil::Shared* IceInternal::upCast(::IceDelegate::Ice::Object* p) { return p; } +IceUtil::Shared* IceInternal::upCast(::IceDelegateM::Ice::Object* p) { return p; } +IceUtil::Shared* IceInternal::upCast(::IceDelegateD::Ice::Object* p) { return p; } ::Ice::ObjectPrx IceInternal::checkedCastImpl(const ObjectPrx& b, const string& f, const string& typeId, const Context* context) |