summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/hello/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/hello/Server.cpp')
-rw-r--r--cpp/demo/Ice/hello/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/hello/Server.cpp b/cpp/demo/Ice/hello/Server.cpp
index 5a93ea767e8..2102b3c59b0 100644
--- a/cpp/demo/Ice/hello/Server.cpp
+++ b/cpp/demo/Ice/hello/Server.cpp
@@ -32,8 +32,8 @@ main(int argc, char* argv[])
try
{
- Ice::PropertiesPtr properties = Ice::loadProperties("config");
- communicator = Ice::initializeWithProperties(argc, argv, properties);
+ Ice::PropertiesPtr properties = Ice::loadProperties(argc, argv, "config");
+ communicator = Ice::initializeWithProperties(properties);
status = run(argc, argv, communicator);
}
catch(const Ice::LocalException& ex)