summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/slicing/exceptions/TestAMDI.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-04-03 14:41:54 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-04-03 14:41:54 -0230
commitd4edcb664ce60c2e4395d534e6759dd8475c5089 (patch)
treef7322eaeb6472f6506cf85cc4aa6121c19a8d84f /cpp/test/Ice/slicing/exceptions/TestAMDI.cpp
parentFixed compile error (diff)
downloadice-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.cpp7
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();
}