diff options
Diffstat (limited to 'cpp/src/IcePack/AdapterRegistryI.cpp')
-rw-r--r-- | cpp/src/IcePack/AdapterRegistryI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/AdapterRegistryI.cpp b/cpp/src/IcePack/AdapterRegistryI.cpp index d0647d7cfe4..a25d7f6d3ba 100644 --- a/cpp/src/IcePack/AdapterRegistryI.cpp +++ b/cpp/src/IcePack/AdapterRegistryI.cpp @@ -86,7 +86,7 @@ IcePack::AdapterRegistryI::findById(const string& id, const Ice::Current&) { try { - return AdapterPrx::checkedCast(p->second); + return AdapterPrx::checkedCast(p->second->ice_collocationOptimization(false)); } catch(const Ice::ObjectNotExistException&) { @@ -94,7 +94,7 @@ IcePack::AdapterRegistryI::findById(const string& id, const Ice::Current&) } catch(const Ice::LocalException&) { - return AdapterPrx::uncheckedCast(p->second); + return AdapterPrx::uncheckedCast(p->second->ice_collocationOptimization(false)); } } throw AdapterNotExistException(); |