summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/custom/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/test/IceE/custom/Collocated.cpp')
-rw-r--r--cppe/test/IceE/custom/Collocated.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppe/test/IceE/custom/Collocated.cpp b/cppe/test/IceE/custom/Collocated.cpp
index 33c128799e1..ce1b59f0f4a 100644
--- a/cppe/test/IceE/custom/Collocated.cpp
+++ b/cppe/test/IceE/custom/Collocated.cpp
@@ -42,9 +42,9 @@ public:
setCommunicator(Ice::initialize(argc, argv, initData));
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter");
- adapter->add(new TestIntfI(communicator()), Ice::stringToIdentity("test"));
- adapter->add(new Test1::WstringClassI, Ice::stringToIdentity("wstring1"));
- adapter->add(new Test2::WstringClassI, Ice::stringToIdentity("wstring2"));
+ adapter->add(new TestIntfI(communicator()), communicator()->stringToIdentity("test"));
+ adapter->add(new Test1::WstringClassI, communicator()->stringToIdentity("wstring1"));
+ adapter->add(new Test2::WstringClassI, communicator()->stringToIdentity("wstring2"));
adapter->activate();
Test::TestIntfPrx allTests(const Ice::CommunicatorPtr&);