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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp
index 1c6e1a8e241..2f7052a865b 100644
--- a/cpp/test/Ice/exceptions/Collocated.cpp
+++ b/cpp/test/Ice/exceptions/Collocated.cpp
@@ -18,7 +18,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
- Ice::ObjectPtr object = new ThrowerI(adapter);
+ Ice::ObjectPtr object = new ThrowerI();
adapter->add(object, communicator->stringToIdentity("thrower"));
ThrowerPrx allTests(const Ice::CommunicatorPtr&, bool);