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 90c523593b0..c4f93d562f7 100644
--- a/cpp/demo/IceBox/hello/HelloServiceI.cpp
+++ b/cpp/demo/IceBox/hello/HelloServiceI.cpp
@@ -46,7 +46,7 @@ HelloServiceI::start(const string& name,
const ::Ice::StringSeq& args)
{
_adapter = communicator->createObjectAdapter(name);
- ::Ice::ObjectPtr object = new HelloI(communicator);
+ ::Ice::ObjectPtr object = new HelloI;
_adapter->add(object, ::Ice::stringToIdentity("hello"));
_adapter->activate();
}