From 2715a0e3b479b84fc24efa93882df47c2b373d73 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 29 Dec 2015 14:07:58 +0100 Subject: C++11 mapping fixes for IceBox --- cpp/test/IceBox/configuration/Service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/test/IceBox/configuration/Service.cpp') 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(); } -- cgit v1.2.3