diff options
author | Jose <jose@zeroc.com> | 2015-12-31 15:10:10 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-12-31 15:10:10 +0100 |
commit | 761330088ea92404085888ab3427f44c9787e486 (patch) | |
tree | d4552a5bcd7c6a756880e2ac96986daa26ed333c /cpp/test/IceSSL/configuration/Server.cpp | |
parent | Disable some test thar are currently not supported with C++11 (diff) | |
download | ice-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.cpp | 2 |
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(); |