summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/AdapterRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/AdapterRegistryI.cpp')
-rw-r--r--cpp/src/IcePack/AdapterRegistryI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePack/AdapterRegistryI.cpp b/cpp/src/IcePack/AdapterRegistryI.cpp
index 1f34ee5e6e8..c0e43498a76 100644
--- a/cpp/src/IcePack/AdapterRegistryI.cpp
+++ b/cpp/src/IcePack/AdapterRegistryI.cpp
@@ -100,7 +100,8 @@ IcePack::AdapterRegistryI::findById(const string& id, const Ice::Current&)
{
try
{
- return AdapterPrx::checkedCast(p->second->ice_collocationOptimization(false));
+ p->second->ice_ping();
+ return AdapterPrx::uncheckedCast(p->second->ice_collocationOptimization(false));
}
catch(const Ice::ObjectNotExistException&)
{