summaryrefslogtreecommitdiff
path: root/cpp/test/IceSSL/configuration/Server.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-31 15:10:10 +0100
committerJose <jose@zeroc.com>2015-12-31 15:10:10 +0100
commit761330088ea92404085888ab3427f44c9787e486 (patch)
treed4552a5bcd7c6a756880e2ac96986daa26ed333c /cpp/test/IceSSL/configuration/Server.cpp
parentDisable some test thar are currently not supported with C++11 (diff)
downloadice-761330088ea92404085888ab3427f44c9787e486.tar.bz2
ice-761330088ea92404085888ab3427f44c9787e486.tar.xz
ice-761330088ea92404085888ab3427f44c9787e486.zip
C++11 IceSSL/configuration test fixes
Diffstat (limited to 'cpp/test/IceSSL/configuration/Server.cpp')
-rw-r--r--cpp/test/IceSSL/configuration/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceSSL/configuration/Server.cpp b/cpp/test/IceSSL/configuration/Server.cpp
index 8a1731398e7..45d555e66a8 100644
--- a/cpp/test/IceSSL/configuration/Server.cpp
+++ b/cpp/test/IceSSL/configuration/Server.cpp
@@ -18,7 +18,7 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
communicator->getProperties()->setProperty("TestAdapter.Endpoints", "tcp -p 12010");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
Ice::Identity id = communicator->stringToIdentity("factory");
- adapter->add(new ServerFactoryI, id);
+ adapter->add(ICE_MAKE_SHARED(ServerFactoryI), id);
adapter->activate();
communicator->waitForShutdown();