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/OutgoingAsync.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/OutgoingAsync.cpp')
-rw-r--r-- | cpp/src/Ice/OutgoingAsync.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index ad53705d9e9..065ebe7c334 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -26,14 +26,9 @@ using namespace std; using namespace Ice; using namespace IceInternal; -void IceInternal::incRef(OutgoingAsync* p) { p->__incRef(); } -void IceInternal::decRef(OutgoingAsync* p) { p->__decRef(); } - -void IceInternal::incRef(AMI_Object_ice_invoke* p) { p->__incRef(); } -void IceInternal::decRef(AMI_Object_ice_invoke* p) { p->__decRef(); } - -void IceInternal::incRef(AMI_Array_Object_ice_invoke* p) { p->__incRef(); } -void IceInternal::decRef(AMI_Array_Object_ice_invoke* p) { p->__decRef(); } +IceUtil::Shared* IceInternal::upCast(OutgoingAsync* p) { return p; } +IceUtil::Shared* IceInternal::upCast(AMI_Object_ice_invoke* p) { return p; } +IceUtil::Shared* IceInternal::upCast(AMI_Array_Object_ice_invoke* p) { return p; } IceInternal::OutgoingAsync::OutgoingAsync() : __is(0), @@ -315,7 +310,7 @@ IceInternal::OutgoingAsync::__prepare(const ObjectPrx& prx, const string& operat // // Explicit context // - __write(__os, *context, __U__Context()); + __writeContext(__os, *context); } else { @@ -329,7 +324,7 @@ IceInternal::OutgoingAsync::__prepare(const ObjectPrx& prx, const string& operat if(implicitContext == 0) { - __write(__os, prxContext, __U__Context()); + __writeContext(__os, prxContext); } else { |