Remove use of reserved identifier _Iterator

llvm-svn: 232311
This commit is contained in:
David Blaikie 2015-03-15 03:18:21 +00:00
parent 503791382b
commit 420599cc5e
1 changed files with 5 additions and 5 deletions

View File

@ -179,11 +179,11 @@ public:
}
};
template <class _Iterator, class Func>
inline mapped_iterator<_Iterator, Func>
operator+(typename mapped_iterator<_Iterator, Func>::difference_type N,
const mapped_iterator<_Iterator, Func>& X) {
return mapped_iterator<_Iterator, Func>(X.getCurrent() - N, X.getFunc());
template <class Iterator, class Func>
inline mapped_iterator<Iterator, Func>
operator+(typename mapped_iterator<Iterator, Func>::difference_type N,
const mapped_iterator<Iterator, Func> &X) {
return mapped_iterator<Iterator, Func>(X.getCurrent() - N, X.getFunc());
}