From 6dc6f8bdc7df6793cc9b09f33e3fdc8bbb76a192 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 20 Sep 2010 18:14:02 +0000 Subject: xml_parse_result now has a default ctor, minor parsing optimization git-svn-id: http://pugixml.googlecode.com/svn/trunk@736 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pugixml.hpp') 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 { -- cgit v1.2.3