From cae45df77235bf7314421f2520177f21179beb84 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 20 Feb 2015 21:56:45 +0100 Subject: cmAlgorithms: Rename template argument to RemoveN. --- Source/cmAlgorithms.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h index 8790732..ca4c1fd 100644 --- a/Source/cmAlgorithms.h +++ b/Source/cmAlgorithms.h @@ -151,10 +151,10 @@ private: const_iterator End; }; -template -Iter RemoveN(Iter i1, Iter i2, size_t n) +template +FwdIt RemoveN(FwdIt i1, FwdIt i2, size_t n) { - Iter m = i1; + FwdIt m = i1; std::advance(m, n); return cmRotate(i1, m, i2); } -- cgit v0.12