summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/update/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/update/TestI.cpp')
-rw-r--r--cpp/test/IceGrid/update/TestI.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/test/IceGrid/update/TestI.cpp b/cpp/test/IceGrid/update/TestI.cpp
index f91a7ac44b2..d4c0a856036 100644
--- a/cpp/test/IceGrid/update/TestI.cpp
+++ b/cpp/test/IceGrid/update/TestI.cpp
@@ -5,8 +5,10 @@
#include <Ice/Ice.h>
#include <TestI.h>
-TestI::TestI(const Ice::PropertiesPtr& properties) :
- _properties(properties)
+using namespace std;
+
+TestI::TestI(shared_ptr<Ice::Properties>&& properties) :
+ _properties(move(properties))
{
}
@@ -16,8 +18,8 @@ TestI::shutdown(const Ice::Current& current)
current.adapter->getCommunicator()->shutdown();
}
-std::string
-TestI::getProperty(const std::string& name, const Ice::Current&)
+string
+TestI::getProperty(string name, const Ice::Current&)
{
return _properties->getProperty(name);
}