summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/ami
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/ami')
-rw-r--r--cpp/test/Ice/ami/Collocated.cpp4
-rw-r--r--cpp/test/Ice/ami/Server.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/ami/Collocated.cpp b/cpp/test/Ice/ami/Collocated.cpp
index 73396d57834..0f9abd96355 100644
--- a/cpp/test/Ice/ami/Collocated.cpp
+++ b/cpp/test/Ice/ami/Collocated.cpp
@@ -27,10 +27,10 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
TestIntfControllerIPtr testController = ICE_MAKE_SHARED(TestIntfControllerI, adapter);
- adapter->add(ICE_MAKE_SHARED(TestIntfI), communicator->stringToIdentity("test"));
+ adapter->add(ICE_MAKE_SHARED(TestIntfI), Ice::stringToIdentity("test"));
//adapter->activate(); // Collocated test doesn't need to activate the OA
- adapter2->add(testController, communicator->stringToIdentity("testController"));
+ adapter2->add(testController, Ice::stringToIdentity("testController"));
//adapter2->activate(); // Collocated test doesn't need to activate the OA
void allTests(const Ice::CommunicatorPtr&, bool);
diff --git a/cpp/test/Ice/ami/Server.cpp b/cpp/test/Ice/ami/Server.cpp
index adf27fd04f2..7c0ebd03b42 100644
--- a/cpp/test/Ice/ami/Server.cpp
+++ b/cpp/test/Ice/ami/Server.cpp
@@ -27,10 +27,10 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
TestIntfControllerIPtr testController = ICE_MAKE_SHARED(TestIntfControllerI, adapter);
- adapter->add(ICE_MAKE_SHARED(TestIntfI), communicator->stringToIdentity("test"));
+ adapter->add(ICE_MAKE_SHARED(TestIntfI), Ice::stringToIdentity("test"));
adapter->activate();
- adapter2->add(testController, communicator->stringToIdentity("testController"));
+ adapter2->add(testController, Ice::stringToIdentity("testController"));
adapter2->activate();
TEST_READY