diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-09-01 04:42:12 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-09-01 04:42:12 +0200 |
commit | e8f22efe34415db0e1e5cb94635b089b18efe055 (patch) | |
tree | 64088065cd97cb941b9d35016c0dcf3aaf355c5e /louloulibs/xmpp/xmpp_parser.cpp | |
parent | df006a191603c4a9f0bb364affa3731c2944fef5 (diff) | |
download | biboumi-e8f22efe34415db0e1e5cb94635b089b18efe055.tar.gz biboumi-e8f22efe34415db0e1e5cb94635b089b18efe055.tar.bz2 biboumi-e8f22efe34415db0e1e5cb94635b089b18efe055.tar.xz biboumi-e8f22efe34415db0e1e5cb94635b089b18efe055.zip |
XmlNodes are now always closed
Remove the close() method and closed attribute. Remove all the calls to
close(). (Save one bool per XmlNode, yay, and save a few ifs and some
useless function calls. At best it should be unnoticeably faster and lighter
and save a few keystrokes in the future)
Diffstat (limited to 'louloulibs/xmpp/xmpp_parser.cpp')
-rw-r--r-- | louloulibs/xmpp/xmpp_parser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/louloulibs/xmpp/xmpp_parser.cpp b/louloulibs/xmpp/xmpp_parser.cpp index fbe525a..3903b73 100644 --- a/louloulibs/xmpp/xmpp_parser.cpp +++ b/louloulibs/xmpp/xmpp_parser.cpp @@ -104,7 +104,6 @@ void XmppParser::end_element(const XML_Char* name) { (void)name; level--; - this->current_node->close(); if (level == 1) { this->stanza_event(*this->current_node); |