summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-20 20:56:45 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-24 14:16:01 (GMT)
commitcae45df77235bf7314421f2520177f21179beb84 (patch)
tree414e9c51c83dce6b2d9dc3f6aa4bfb5cafbd14c4 /Source
parentb917f4c003cb192f461345b66a9af1a3436b86b1 (diff)
downloadCMake-cae45df77235bf7314421f2520177f21179beb84.zip
CMake-cae45df77235bf7314421f2520177f21179beb84.tar.gz
CMake-cae45df77235bf7314421f2520177f21179beb84.tar.bz2
cmAlgorithms: Rename template argument to RemoveN.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAlgorithms.h6
1 files 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<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);
}