diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-07-10 14:16:59 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-07-10 14:16:59 +0200 |
commit | 9962c1c90ddb9a0986bb98f84f2d97685203fce0 (patch) | |
tree | fef7973a98850f43f7118f65b8e8b8586286d987 /cpp/src/IceDiscovery/PluginI.cpp | |
parent | Fix background test. (diff) | |
download | ice-9962c1c90ddb9a0986bb98f84f2d97685203fce0.tar.bz2 ice-9962c1c90ddb9a0986bb98f84f2d97685203fce0.tar.xz ice-9962c1c90ddb9a0986bb98f84f2d97685203fce0.zip |
ICE-4612: first cut of the IceGrid discovery plugin and APIs
Diffstat (limited to 'cpp/src/IceDiscovery/PluginI.cpp')
-rw-r--r-- | cpp/src/IceDiscovery/PluginI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceDiscovery/PluginI.cpp b/cpp/src/IceDiscovery/PluginI.cpp index 01846fb7eab..88c2bb91ba5 100644 --- a/cpp/src/IceDiscovery/PluginI.cpp +++ b/cpp/src/IceDiscovery/PluginI.cpp @@ -130,7 +130,7 @@ PluginI::initialize() // Setup locator on the communicator. // Ice::ObjectPrx loc = _locatorAdapter->addWithUUID(new LocatorI(lookup, locatorRegistryPrx)); - _communicator->setDefaultLocator(Ice::LocatorPrx::uncheckedCast(_communicator->stringToProxy(loc->ice_toString()))); + _communicator->setDefaultLocator(Ice::LocatorPrx::uncheckedCast(loc)); _multicastAdapter->activate(); _replyAdapter->activate(); |