summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/allocation/TestI.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/IceGrid/allocation/TestI.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/IceGrid/allocation/TestI.cpp')
-rw-r--r--cpp/test/IceGrid/allocation/TestI.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/test/IceGrid/allocation/TestI.cpp b/cpp/test/IceGrid/allocation/TestI.cpp
index 38720224d5b..7fb3ae42223 100644
--- a/cpp/test/IceGrid/allocation/TestI.cpp
+++ b/cpp/test/IceGrid/allocation/TestI.cpp
@@ -10,16 +10,15 @@
#include <Ice/Ice.h>
#include <TestI.h>
-TestI::TestI(const Ice::ObjectAdapterPtr& adapter, const Ice::PropertiesPtr& properties) :
- _adapter(adapter),
+TestI::TestI(const Ice::PropertiesPtr& properties) :
_properties(properties)
{
}
void
-TestI::shutdown(const Ice::Current&)
+TestI::shutdown(const Ice::Current& current)
{
- _adapter->getCommunicator()->shutdown();
+ current.adapter->getCommunicator()->shutdown();
}
std::string