summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello/HelloServiceI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.cpp')
-rw-r--r--cpp/demo/IceBox/hello/HelloServiceI.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.cpp b/cpp/demo/IceBox/hello/HelloServiceI.cpp
index 5f70e8bf3aa..ffcd7b95d27 100644
--- a/cpp/demo/IceBox/hello/HelloServiceI.cpp
+++ b/cpp/demo/IceBox/hello/HelloServiceI.cpp
@@ -29,10 +29,9 @@ HelloServiceI::~HelloServiceI()
void
HelloServiceI::start(const string& name,
const ::Ice::CommunicatorPtr& communicator,
- const ::Ice::PropertiesPtr& properties,
const ::Ice::StringSeq& args)
{
- _adapter = communicator->createObjectAdapter(name + "Adapter");
+ _adapter = communicator->createObjectAdapter(name);
::Ice::ObjectPtr object = new HelloI(communicator);
_adapter->add(object, ::Ice::stringToIdentity("hello"));
_adapter->activate();