summaryrefslogtreecommitdiff
path: root/zenXml/zenxml
diff options
context:
space:
mode:
Diffstat (limited to 'zenXml/zenxml')
-rw-r--r--zenXml/zenxml/dom.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/zenXml/zenxml/dom.h b/zenXml/zenxml/dom.h
index ff409eb1..cba12cfb 100644
--- a/zenXml/zenxml/dom.h
+++ b/zenXml/zenxml/dom.h
@@ -317,8 +317,7 @@ private:
XmlDoc (const XmlDoc&) = delete; //not implemented, thanks to XmlElement::parent_
XmlDoc& operator=(const XmlDoc&) = delete;
- //std::string version_ {"1.0"}; -> who cares!?
- std::string version_;
+ std::string version_ {"1.0"}; //non-optional for valid XML
std::string encoding_{"utf-8"};
std::string standalone_;
bgstack15