diff options
author | Marc Laukien <marc@zeroc.com> | 2001-12-05 19:13:16 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-12-05 19:13:16 +0000 |
commit | 29f5d8c468d89715be66f3f99c0f444452a14176 (patch) | |
tree | 69dd25f91b7b73cc0ff48d7ceec0f89efe875926 /cpp/test/Ice/exceptions/Server.cpp | |
parent | bug fixes (diff) | |
download | ice-29f5d8c468d89715be66f3f99c0f444452a14176.tar.bz2 ice-29f5d8c468d89715be66f3f99c0f444452a14176.tar.xz ice-29f5d8c468d89715be66f3f99c0f444452a14176.zip |
Ice::Identity
Diffstat (limited to 'cpp/test/Ice/exceptions/Server.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/Server.cpp b/cpp/test/Ice/exceptions/Server.cpp index 9da535b5b45..86fdbda3c76 100644 --- a/cpp/test/Ice/exceptions/Server.cpp +++ b/cpp/test/Ice/exceptions/Server.cpp @@ -29,7 +29,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")); adapter->activate(); communicator->waitForShutdown(); return EXIT_SUCCESS; |