summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
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