diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-03-15 10:06:45 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-03-15 10:06:45 +0000 |
commit | 2f982f8647e1947476d1ed59547db5a66bd0df6e (patch) | |
tree | e682054fc676e2a35903c6d8c0e10a573e31b80e /cpp/src/IceGrid/Database.cpp | |
parent | adding SSL support (diff) | |
download | ice-2f982f8647e1947476d1ed59547db5a66bd0df6e.tar.bz2 ice-2f982f8647e1947476d1ed59547db5a66bd0df6e.tar.xz ice-2f982f8647e1947476d1ed59547db5a66bd0df6e.zip |
Fixes for bug 897.
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index a95e1c4773c..e7e20fd3a43 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -742,8 +742,8 @@ Database::getAdapters(const string& id, bool allRegistered, int& endpointCount) Ice::Identity identity; identity.category = "IceGridAdapter"; identity.name = id; - AdapterPrx adpt = AdapterPrx::uncheckedCast(_internalAdapter->createDirectProxy(identity)); - adpts.push_back(make_pair(id, adpt)); + Ice::ObjectPrx adpt = _internalAdapter->createDirectProxy(identity)->ice_collocationOptimization(false); + adpts.push_back(make_pair(id, AdapterPrx::uncheckedCast(adpt))); endpointCount = 1; return adpts; } |