summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-10 15:48:34 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-10 15:48:34 +0000
commitf4cb6eb737cd22c355cb3b3b4f5f1ef215a8576b (patch)
tree081f5b5b4ac36aa9cee72d9eedf6c8264ab9a755 /src/pugixml.hpp
parentdf42996eab0dc38bd29eecb6dcb9ab83dd981dc3 (diff)
XPath: Out-of-bounds xpath_node_set access is now undefined
git-svn-id: http://pugixml.googlecode.com/svn/trunk@581 99668b35-9821-0410-8761-19e4c4f06640
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 dacd8cd..b87aeb4 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -2215,7 +2215,7 @@ namespace pugi
* \param index - requested index
* \return element
*/
- xpath_node operator[](size_t index) const;
+ const xpath_node& operator[](size_t index) const;
/**
* Get begin constant iterator for collection