summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/complex/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/complex/Client.cpp')
-rw-r--r--cpp/test/Freeze/complex/Client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/test/Freeze/complex/Client.cpp b/cpp/test/Freeze/complex/Client.cpp
index 9dd449d0449..1d9942f26a9 100644
--- a/cpp/test/Freeze/complex/Client.cpp
+++ b/cpp/test/Freeze/complex/Client.cpp
@@ -166,7 +166,8 @@ main(int argc, char* argv[])
}
communicator = Ice::initialize(argc, argv);
- Complex::ComplexDict m(communicator, envName, "test");
+ ConnectionPtr connection = createConnection(communicator, envName);
+ Complex::ComplexDict m(connection, "test");
status = run(argc, argv, communicator, m);
}
catch(const Ice::Exception& ex)