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 89494bf..b6f1710 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1775,6 +1775,10 @@ namespace pugi
/// Last parsed offset (in characters from string start)
ptrdiff_t offset;
+ xpath_parse_result(): error("Internal error"), offset(0)
+ {
+ }
+
/// Cast to bool operator
operator bool() const
{