Explorar el Código

cmAlgorithms: Rename template argument to RemoveN.

Stephen Kelly hace 10 años
padre
commit
cae45df772
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      Source/cmAlgorithms.h

+ 3 - 3
Source/cmAlgorithms.h

@@ -151,10 +151,10 @@ private:
   const_iterator End;
 };
 
-template<typename Iter>
-Iter RemoveN(Iter i1, Iter i2, size_t n)
+template<typename FwdIt>
+FwdIt RemoveN(FwdIt i1, FwdIt i2, size_t n)
 {
-  Iter m = i1;
+  FwdIt m = i1;
   std::advance(m, n);
   return cmRotate(i1, m, i2);
 }