summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pugixml.hpp2
-rw-r--r--src/pugixpath.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index f57dba2..d278358 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -2160,7 +2160,7 @@ namespace pugi
void push_back(const xpath_node& n);
- template <typename Iterator> void append(Iterator begin, Iterator end);
+ void append(const_iterator begin, const_iterator end);
void truncate(iterator it);
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index d409655..7a47349 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -764,7 +764,7 @@ namespace pugi
}
}
- template <typename Iterator> void xpath_node_set::append(Iterator begin, Iterator end)
+ void xpath_node_set::append(const_iterator begin, const_iterator end)
{
if (begin == end) return;