diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-09-05 15:58:21 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-09-05 15:58:21 +0000 |
commit | 9a06476f80dfab5b3a0497cdcabcc005a939f94e (patch) | |
tree | d6595a4ee4424f4a8939f03b19d1122d46714ef0 /cpp/src/IceBox/ServiceManagerI.cpp | |
parent | Fix compilation error. (diff) | |
download | ice-9a06476f80dfab5b3a0497cdcabcc005a939f94e.tar.bz2 ice-9a06476f80dfab5b3a0497cdcabcc005a939f94e.tar.xz ice-9a06476f80dfab5b3a0497cdcabcc005a939f94e.zip |
Bug 1209
Diffstat (limited to 'cpp/src/IceBox/ServiceManagerI.cpp')
-rw-r--r-- | cpp/src/IceBox/ServiceManagerI.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/IceBox/ServiceManagerI.cpp b/cpp/src/IceBox/ServiceManagerI.cpp index c6d8023f04b..ee010e18f05 100644 --- a/cpp/src/IceBox/ServiceManagerI.cpp +++ b/cpp/src/IceBox/ServiceManagerI.cpp @@ -62,8 +62,10 @@ IceBox::ServiceManagerI::start() ObjectAdapterPtr adapter = _communicator->createObjectAdapter("IceBox.ServiceManager"); PropertiesPtr properties = _communicator->getProperties(); - string identity = properties->getPropertyWithDefault("IceBox.InstanceName", "IceBox") + "/ServiceManager"; - adapter->add(obj, _communicator->stringToIdentity(identity)); + Identity identity; + identity.category = properties->getPropertyWithDefault("IceBox.InstanceName", "IceBox"); + identity.name = "ServiceManager"; + adapter->add(obj, identity); // // Parse the IceBox.LoadOrder property. |