diff options
-rw-r--r-- | src/pugixml.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 6fb99be..c15e5a1 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -1212,6 +1212,9 @@ namespace pugi // Constant iterator type typedef const xpath_node* const_iterator; + + // We define non-constant iterator to be the same as constant iterator so that various generic algorithms (i.e. boost foreach) work + typedef const xpath_node* iterator; // Default constructor. Constructs empty set. xpath_node_set(); |