summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index fbb9fcc..89494bf 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1558,6 +1558,10 @@ namespace pugi
/// Source document encoding
xml_encoding encoding;
+ xml_parse_result(): status(status_internal_error), offset(0), encoding(encoding_auto)
+ {
+ }
+
/// Cast to bool operator
operator bool() const
{