diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-04-03 14:41:54 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-04-03 14:41:54 -0230 |
commit | d4edcb664ce60c2e4395d534e6759dd8475c5089 (patch) | |
tree | f7322eaeb6472f6506cf85cc4aa6121c19a8d84f /cpp/test/Ice/slicing/exceptions/TestAMDI.cpp | |
parent | Fixed compile error (diff) | |
download | ice-d4edcb664ce60c2e4395d534e6759dd8475c5089.tar.bz2 ice-d4edcb664ce60c2e4395d534e6759dd8475c5089.tar.xz ice-d4edcb664ce60c2e4395d534e6759dd8475c5089.zip |
Bug 3465 - Remove _adapter members from test where unecessary
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(); } |