diff options
Diffstat (limited to 'zenXml/zenxml')
-rw-r--r-- | zenXml/zenxml/dom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenXml/zenxml/dom.h b/zenXml/zenxml/dom.h index 5befdd7f..b42d05d8 100644 --- a/zenXml/zenxml/dom.h +++ b/zenXml/zenxml/dom.h @@ -248,7 +248,7 @@ private: std::list<Attribute> attributes_; //attributes in order of creation std::unordered_map<std::string, std::list<Attribute>::iterator> attributesByName; //alternate view for lookup - std::list<XmlElement> childElements_; //child elements in order of creation + std::list<XmlElement> childElements_; //child elements in order of creation std::multimap<std::string, XmlElement*> childElementsByName_; //alternate view for lookup //alternative: std::unordered_map => but let's keep std::map, so which guarantees consistent order of duplicate items! //e.g. std::unordered_map on Linux inserts duplicates in reverse! |