summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/ServerAMD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/ServerAMD.cpp')
-rw-r--r--cpp/test/Ice/exceptions/ServerAMD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/ServerAMD.cpp b/cpp/test/Ice/exceptions/ServerAMD.cpp
index 4d3c8a17304..9310f24f774 100644
--- a/cpp/test/Ice/exceptions/ServerAMD.cpp
+++ b/cpp/test/Ice/exceptions/ServerAMD.cpp
@@ -52,7 +52,7 @@ main(int argc, char* argv[])
initData.properties->setProperty("Ice.Warn.Connections", "0");
initData.properties->setProperty("Ice.MessageSizeMax", "10"); // 10KB max
- 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)