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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.cpp b/cpp/demo/IceBox/hello/HelloServiceI.cpp
index 6652ff3ae98..170c8ea737e 100644
--- a/cpp/demo/IceBox/hello/HelloServiceI.cpp
+++ b/cpp/demo/IceBox/hello/HelloServiceI.cpp
@@ -39,7 +39,7 @@ void
HelloServiceI::start(const string& name, const Ice::CommunicatorPtr& communicator, const Ice::StringSeq& args)
{
_adapter = communicator->createObjectAdapter(name);
- _adapter->add(new HelloI, Ice::stringToIdentity("hello"));
+ _adapter->add(new HelloI, communicator->stringToIdentity("hello"));
_adapter->activate();
}