diff options
Diffstat (limited to 'louloulibs/xmpp/xmpp_parser.hpp')
-rw-r--r-- | louloulibs/xmpp/xmpp_parser.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/louloulibs/xmpp/xmpp_parser.hpp b/louloulibs/xmpp/xmpp_parser.hpp index 79c9f8f..4de639d 100644 --- a/louloulibs/xmpp/xmpp_parser.hpp +++ b/louloulibs/xmpp/xmpp_parser.hpp @@ -112,6 +112,11 @@ private: */ XmlNode* current_node; /** + * The root node has no parent, so we keep it here: the XmppParser object + * is its owner. + */ + std::unique_ptr<XmlNode> root; + /** * A list of callbacks to be called on an *_event, receiving the * concerned Stanza/XmlNode. */ |