diff options
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h index 3156c8b7e7..d810852314 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h +++ b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h @@ -26,11 +26,11 @@ public: string toString();
ProtocolTreeNode* getChild(const string& id);
ProtocolTreeNode* getChild(size_t id);
- string* getAttributeValue(const string& attribute);
+ const string& getAttributeValue(const string& attribute);
- vector<ProtocolTreeNode*>* getAllChildren();
- vector<ProtocolTreeNode*>* getAllChildren(const string& tag);
- std::string* getDataAsString();
+ vector<ProtocolTreeNode*> getAllChildren();
+ vector<ProtocolTreeNode*> getAllChildren(const string& tag);
+ std::string getDataAsString();
static bool tagEquals(ProtocolTreeNode *node, const string& tag);
static void require(ProtocolTreeNode *node, const string& tag);
|