diff options
Diffstat (limited to 'cpp/test/Ice/inheritance')
-rw-r--r-- | cpp/test/Ice/inheritance/Collocated.cpp | 3 | ||||
-rw-r--r-- | cpp/test/Ice/inheritance/Server.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cpp/test/Ice/inheritance/Collocated.cpp b/cpp/test/Ice/inheritance/Collocated.cpp index e0ef8cb6e98..ddac110a51b 100644 --- a/cpp/test/Ice/inheritance/Collocated.cpp +++ b/cpp/test/Ice/inheritance/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 InitialI(adapter); adapter->add(object, "initial"); diff --git a/cpp/test/Ice/inheritance/Server.cpp b/cpp/test/Ice/inheritance/Server.cpp index 14e985c66e3..af907c9e1e9 100644 --- a/cpp/test/Ice/inheritance/Server.cpp +++ b/cpp/test/Ice/inheritance/Server.cpp @@ -38,7 +38,7 @@ 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 InitialI(adapter); adapter->add(object, "initial"); adapter->activate(); |