diff options
Diffstat (limited to 'cpp/test/Ice/exceptions/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/Collocated.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp index 6b067900c42..c8486e3857a 100644 --- a/cpp/test/Ice/exceptions/Collocated.cpp +++ b/cpp/test/Ice/exceptions/Collocated.cpp @@ -28,7 +28,7 @@ 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 ThrowerI(adapter); - adapter->add(object, "thrower"); + adapter->add(object, Ice::stringToIdentity("thrower")); ThrowerPrx allTests(const Ice::CommunicatorPtr&, bool); allTests(communicator, true); |