summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-03-30 13:30:28 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-03-30 13:30:28 +0000
commit798a2e1405f74702d17b343511a2da5298927d54 (patch)
tree1a886a2e745c26e46fabb5a0c9ca6b7f86bbeecf /cpp/src/Ice/ProxyFactory.cpp
parentFixed windows comile error (diff)
downloadice-798a2e1405f74702d17b343511a2da5298927d54.tar.bz2
ice-798a2e1405f74702d17b343511a2da5298927d54.tar.xz
ice-798a2e1405f74702d17b343511a2da5298927d54.zip
Finished fixing bug 847.
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.cpp')
-rw-r--r--cpp/src/Ice/ProxyFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp
index a2eaa1911c7..67f6c695ced 100644
--- a/cpp/src/Ice/ProxyFactory.cpp
+++ b/cpp/src/Ice/ProxyFactory.cpp
@@ -97,12 +97,12 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex, co
//
if(dynamic_cast<const ObjectNotExistException*>(&ex))
{
- IndirectReferencePtr ir = IndirectReferencePtr::dynamicCast(ref);
- if(!ir || !ir->getLocatorInfo())
+ LocatorInfoPtr li = ref->getLocatorInfo();
+ if(!li)
{
ex.ice_throw();
}
- ir->getLocatorInfo()->clearObjectCache(ir);
+ li->clearObjectCache(IndirectReferencePtr::dynamicCast(ref));
}
else if(dynamic_cast<const RequestFailedException*>(&ex))
{