diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-09-20 18:14:02 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-09-20 18:14:02 +0000 |
commit | 6dc6f8bdc7df6793cc9b09f33e3fdc8bbb76a192 (patch) | |
tree | d871c9b4c8b289bf629e619726b48277f7b30f33 /src/pugixml.hpp | |
parent | 7c837e78d5b49740e47d859c34eae1f5ded3e83a (diff) |
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
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r-- | src/pugixml.hpp | 4 |
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 { |