summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/custom/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/custom/Collocated.cpp')
-rw-r--r--cpp/test/Ice/custom/Collocated.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/test/Ice/custom/Collocated.cpp b/cpp/test/Ice/custom/Collocated.cpp
index 08f4319a9f6..0dfc28feb4f 100644
--- a/cpp/test/Ice/custom/Collocated.cpp
+++ b/cpp/test/Ice/custom/Collocated.cpp
@@ -40,11 +40,12 @@ main(int argc, char** argv)
try
{
+ IceUtil::setProcessStringConverter(new Test::StringConverterI());
+ IceUtil::setProcessWstringConverter(new Test::WstringConverterI());
+
Ice::InitializationData initData;
initData.properties = Ice::createProperties(argc, argv);
initData.properties->setProperty("TestAdapter.Endpoints", "default -p 12010");
- initData.stringConverter = new Test::StringConverterI();
- initData.wstringConverter = new Test::WstringConverterI();
communicator = Ice::initialize(argc, argv, initData);
status = run(argc, argv, communicator);
}