diff options
Diffstat (limited to 'cppe/test/IceE/operations/Collocated.cpp')
-rw-r--r-- | cppe/test/IceE/operations/Collocated.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/test/IceE/operations/Collocated.cpp b/cppe/test/IceE/operations/Collocated.cpp index 85376091a7a..09b4258f749 100644 --- a/cppe/test/IceE/operations/Collocated.cpp +++ b/cppe/test/IceE/operations/Collocated.cpp @@ -44,9 +44,9 @@ public: setCommunicator(Ice::initialize(argc, argv, initData)); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter"); - Ice::Identity id = Ice::stringToIdentity("test"); + Ice::Identity id = communicator()->stringToIdentity("test"); adapter->add(new MyDerivedClassI(adapter, id), id); - adapter->add(new TestCheckedCastI, Ice::stringToIdentity("context")); + adapter->add(new TestCheckedCastI, communicator()->stringToIdentity("context")); adapter->activate(); Test::MyClassPrx allTests(const Ice::CommunicatorPtr&); |