summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-12-05 19:13:16 +0000
committerMarc Laukien <marc@zeroc.com>2001-12-05 19:13:16 +0000
commit29f5d8c468d89715be66f3f99c0f444452a14176 (patch)
tree69dd25f91b7b73cc0ff48d7ceec0f89efe875926 /cpp/test/Ice/exceptions/Server.cpp
parentbug fixes (diff)
downloadice-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.cpp2
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;