summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/operations/Collocated.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-09 13:07:41 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-09 13:07:41 +0000
commit197b6de9281b52d0b53c4b3fa3312e371b4469a9 (patch)
treebae93f8155da0770f5dd45d12ef1160ee99aed54 /cppe/test/IceE/operations/Collocated.cpp
parentAdded identityToString and stringToIdentity to Communicator (diff)
downloadice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.bz2
ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.xz
ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.zip
Fixed proxy and identity t/from string functions to use string converters
Diffstat (limited to 'cppe/test/IceE/operations/Collocated.cpp')
-rw-r--r--cppe/test/IceE/operations/Collocated.cpp4
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&);