From b2f86045d3b3dc2a454f127f186429b60e493072 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Feb 2015 23:36:02 +0000 Subject: merge from branch git-svn-id: http://svn.miranda-ng.org/main/trunk@12029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h') diff --git a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h index aeb1b6e18e..50e0f4033d 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h +++ b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h @@ -55,21 +55,21 @@ public: map *attributes; vector *children; - ProtocolTreeNode(const string& tag, ProtocolTreeNode* child); - ProtocolTreeNode(const string& tag, vector* data = NULL, vector *children = NULL); + ProtocolTreeNode(const string &tag, ProtocolTreeNode *child); + ProtocolTreeNode(const string &tag, vector *data = NULL, vector *children = NULL); ~ProtocolTreeNode(); string toString() const; - ProtocolTreeNode* getChild(const string& id); + ProtocolTreeNode* getChild(const string &id); ProtocolTreeNode* getChild(size_t id); - const string& getAttributeValue(const string& attribute); + const string& getAttributeValue(const string &attribute); vector getAllChildren(); - vector getAllChildren(const string& tag); + vector getAllChildren(const string &tag); std::string getDataAsString() const; - static bool tagEquals(ProtocolTreeNode *node, const string& tag); - static void require(ProtocolTreeNode *node, const string& tag); + static bool tagEquals(ProtocolTreeNode *node, const string &tag); + static void require(ProtocolTreeNode *node, const string &tag); }; ProtocolTreeNode& operator<<(ProtocolTreeNode&, const XATTR&); -- cgit v1.2.3