diff options
Diffstat (limited to 'cpp/test/Ice/operations/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Collocated.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp index f9cff35f073..96fda8fd7ac 100644 --- a/cpp/test/Ice/operations/Collocated.cpp +++ b/cpp/test/Ice/operations/Collocated.cpp @@ -28,8 +28,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) string endpts = protocol + " -p 12345 -t 2000"; Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("TestAdapter", endpts); - Ice::ObjectPtr object = new MyDerivedClassI(adapter, "test"); - adapter->add(object, "test"); + Ice::ObjectPtr object = new MyDerivedClassI(adapter, Ice::stringToIdentity("test")); + adapter->add(object, Ice::stringToIdentity("test")); Test::MyClassPrx allTests(const Ice::CommunicatorPtr&); allTests(communicator); |