summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-15 08:32:22 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-15 08:34:14 -0700
commit8c8940430ac0d0f82add6fb028ffe9712c9669e8 (patch)
treee19908ebd72ae3cc5690665a1b584acb476e2db4 /src/pugixml.hpp
parent5158ee903be463c189a80715f92235ceb04871a7 (diff)
Minor xpath_variable refactoring
The type of the variable is now initialized correctly in the ctor, so that there is no interim invalid state.
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index b56f66a..a7154f1 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1043,7 +1043,7 @@ namespace pugi
xpath_value_type _type;
xpath_variable* _next;
- xpath_variable();
+ xpath_variable(xpath_value_type type);
// Non-copyable semantics
xpath_variable(const xpath_variable&);