summaryrefslogtreecommitdiff
path: root/cpp/test/IceBox/configuration/Service.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-29 14:07:58 +0100
committerJose <jose@zeroc.com>2015-12-29 14:07:58 +0100
commit2715a0e3b479b84fc24efa93882df47c2b373d73 (patch)
treea5971eb833bdb5a13def11910a47e56302213d2c /cpp/test/IceBox/configuration/Service.cpp
parent.gitignore update (diff)
downloadice-2715a0e3b479b84fc24efa93882df47c2b373d73.tar.bz2
ice-2715a0e3b479b84fc24efa93882df47c2b373d73.tar.xz
ice-2715a0e3b479b84fc24efa93882df47c2b373d73.zip
C++11 mapping fixes for IceBox
Diffstat (limited to 'cpp/test/IceBox/configuration/Service.cpp')
-rw-r--r--cpp/test/IceBox/configuration/Service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceBox/configuration/Service.cpp b/cpp/test/IceBox/configuration/Service.cpp
index 6fa838a93ef..014590dd092 100644
--- a/cpp/test/IceBox/configuration/Service.cpp
+++ b/cpp/test/IceBox/configuration/Service.cpp
@@ -54,7 +54,7 @@ void
ServiceI::start(const string& name, const CommunicatorPtr& communicator, const StringSeq& args)
{
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter(name + "OA");
- adapter->add(new TestI(args), communicator->stringToIdentity("test"));
+ adapter->add(ICE_MAKE_SHARED(TestI, args), communicator->stringToIdentity("test"));
adapter->activate();
}