diff options
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/slicing/exceptions/TestI.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/TestI.cpp b/cpp/test/Ice/slicing/exceptions/TestI.cpp index de4e45c88a3..b8866f21789 100644 --- a/cpp/test/Ice/slicing/exceptions/TestI.cpp +++ b/cpp/test/Ice/slicing/exceptions/TestI.cpp @@ -12,8 +12,7 @@ using namespace Test; -TestI::TestI(const Ice::ObjectAdapterPtr& adapter) : - _adapter(adapter) +TestI::TestI() { } @@ -141,7 +140,7 @@ TestI::unknownMostDerived2AsBase(const ::Ice::Current&) } void -TestI::shutdown(const ::Ice::Current&) +TestI::shutdown(const ::Ice::Current& current) { - _adapter->getCommunicator()->shutdown(); + current.adapter->getCommunicator()->shutdown(); } |