diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/XmlRpcRequestParserController.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/XmlRpcRequestParserController.h')
| -rw-r--r-- | src/XmlRpcRequestParserController.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XmlRpcRequestParserController.h b/src/XmlRpcRequestParserController.h index f6499e87..36fa86f0 100644 --- a/src/XmlRpcRequestParserController.h +++ b/src/XmlRpcRequestParserController.h @@ -50,7 +50,7 @@ class XmlRpcRequestParserController { private: struct StateFrame { - SharedHandle<ValueBase> value_; + std::shared_ptr<ValueBase> value_; std::string name_; bool validMember() const @@ -81,11 +81,11 @@ public: // to p and currentFrame_ = p; void popArrayFrame(); - void setCurrentFrameValue(const SharedHandle<ValueBase>& value); + void setCurrentFrameValue(const std::shared_ptr<ValueBase>& value); void setCurrentFrameName(const std::string& name); - const SharedHandle<ValueBase>& getCurrentFrameValue() const; + const std::shared_ptr<ValueBase>& getCurrentFrameValue() const; void setMethodName(const std::string& methodName) { |
