summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/Collocated.cpp')
-rw-r--r--cpp/test/Ice/exceptions/Collocated.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp
index ac8866e440d..c79ef8c989e 100644
--- a/cpp/test/Ice/exceptions/Collocated.cpp
+++ b/cpp/test/Ice/exceptions/Collocated.cpp
@@ -17,8 +17,7 @@ int
run(int argc, char* argv[], Ice::CommunicatorPtr communicator)
{
string endpts("tcp -p 12345 -t 2000");
- Ice::ObjectAdapterPtr adapter = communicator ->
- createObjectAdapterWithEndpoints("testadapter", endpts);
+ Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("TestAdapter", endpts);
Ice::ObjectPtr object = new ThrowerI(adapter);
adapter->add(object, "thrower");