summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/background/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/background/Server.cpp')
-rw-r--r--cpp/test/Ice/background/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/background/Server.cpp b/cpp/test/Ice/background/Server.cpp
index 27fc1624dc2..89479e32766 100644
--- a/cpp/test/Ice/background/Server.cpp
+++ b/cpp/test/Ice/background/Server.cpp
@@ -170,7 +170,7 @@ main(int argc, char* argv[])
string defaultProtocol = initData.properties->getPropertyWithDefault("Ice.Default.Protocol", "tcp");
initData.properties->setProperty("Ice.Default.Protocol", "test-" + defaultProtocol);
- Ice::CommunicatorHolder ich = Ice::initialize(argc, argv, initData);
+ Ice::CommunicatorHolder ich(argc, argv, initData);
return run(argc, argv, ich.communicator());
}
catch(const Ice::Exception& ex)