diff options
Diffstat (limited to 'cpp/test/IceGrid/allocation/TestI.cpp')
-rw-r--r-- | cpp/test/IceGrid/allocation/TestI.cpp | 7 |
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 |