summaryrefslogtreecommitdiff
path: root/src/XmlRpcRequestParserController.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:39:47 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:40:08 +0900
commitb1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch)
tree9ce465b42bf09372118335c7c619bb2b41869eaf /src/XmlRpcRequestParserController.h
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/XmlRpcRequestParserController.h')
-rw-r--r--src/XmlRpcRequestParserController.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/XmlRpcRequestParserController.h b/src/XmlRpcRequestParserController.h
index 2cb3eb64..7892147b 100644
--- a/src/XmlRpcRequestParserController.h
+++ b/src/XmlRpcRequestParserController.h
@@ -48,15 +48,11 @@ namespace rpc {
class XmlRpcRequestParserController {
private:
-
struct StateFrame {
std::unique_ptr<ValueBase> value_;
std::string name_;
- bool validMember() const
- {
- return value_ && !name_.empty();
- }
+ bool validMember() const { return value_ && !name_.empty(); }
void reset()
{
@@ -70,6 +66,7 @@ private:
StateFrame currentFrame_;
std::string methodName_;
+
public:
void pushFrame();