From d4edcb664ce60c2e4395d534e6759dd8475c5089 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Fri, 3 Apr 2009 14:41:54 -0230 Subject: Bug 3465 - Remove _adapter members from test where unecessary --- cpp/test/Ice/slicing/exceptions/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/test/Ice/slicing/exceptions/Server.cpp') diff --git a/cpp/test/Ice/slicing/exceptions/Server.cpp b/cpp/test/Ice/slicing/exceptions/Server.cpp index 1a729ff6b90..4c6d6a9623c 100644 --- a/cpp/test/Ice/slicing/exceptions/Server.cpp +++ b/cpp/test/Ice/slicing/exceptions/Server.cpp @@ -19,7 +19,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) properties->setProperty("Ice.Warn.Dispatch", "0"); communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 2000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); - Ice::ObjectPtr object = new TestI(adapter); + Ice::ObjectPtr object = new TestI(); adapter->add(object, communicator->stringToIdentity("Test")); adapter->activate(); communicator->waitForShutdown(); -- cgit v1.2.3