]> granicus.if.org Git - llvm/commitdiff
Remove use of reserved identifier _Iterator
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 15 Mar 2015 03:18:21 +0000 (03:18 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 15 Mar 2015 03:18:21 +0000 (03:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232311 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/STLExtras.h

index fed5b66500019a19a3f8d222fbc14c18e9926e0a..921bd820d97b2654b772b6204c820b61931e3489 100644 (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());
 }