cmAlgorithms: Rename template argument to RemoveN.

This commit is contained in:
Stephen Kelly 2015-02-20 21:56:45 +01:00 committed by Brad King
parent b917f4c003
commit cae45df772
1 changed files with 3 additions and 3 deletions

View File

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