diff options
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/slicing/exceptions/TestAMDI.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/TestAMDI.cpp b/cpp/test/Ice/slicing/exceptions/TestAMDI.cpp index 289be65c24a..ea387066f3c 100644 --- a/cpp/test/Ice/slicing/exceptions/TestAMDI.cpp +++ b/cpp/test/Ice/slicing/exceptions/TestAMDI.cpp @@ -12,8 +12,7 @@ using namespace Test; -TestI::TestI(const Ice::ObjectAdapterPtr& adapter) : - _adapter(adapter) +TestI::TestI() { } @@ -145,8 +144,8 @@ TestI::unknownMostDerived2AsBase_async(const AMD_TestIntf_unknownMostDerived2AsB } void -TestI::shutdown_async(const AMD_TestIntf_shutdownPtr& cb, const ::Ice::Current&) +TestI::shutdown_async(const AMD_TestIntf_shutdownPtr& cb, const ::Ice::Current& current) { - _adapter->getCommunicator()->shutdown(); + current.adapter->getCommunicator()->shutdown(); cb->ice_response(); } |