summaryrefslogtreecommitdiff
path: root/Source/cmAlgorithms.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-03-12 15:26:35 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2015-03-12 15:26:35 -0400
commit15b06bc01278bafda15ff1fcece808959422d927 (patch)
treed31382c169a80c4fae2f0f04d0eebe3e18e42a87 /Source/cmAlgorithms.h
parent153e2dc3fc73fdb778e56e238441aab2a9f673dc (diff)
parent95dd238f5cde3aef28f09a2367ac7467d064ea10 (diff)
downloadcmake-15b06bc01278bafda15ff1fcece808959422d927.tar.gz
Merge topic 'cmAlgorithms-cleanup'
95dd238f cmRemoveDuplicates: Fix iterator -> const_iterator. 4448f175 cmInstalledFile: Move Property implementation out of line. 7916d7ba Include cmAlgorithms where it is used.
Diffstat (limited to 'Source/cmAlgorithms.h')
-rw-r--r--Source/cmAlgorithms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h
index be57da3dc5..3b3590b82c 100644
--- a/Source/cmAlgorithms.h
+++ b/Source/cmAlgorithms.h
@@ -273,7 +273,7 @@ typename Range::const_iterator cmRemoveDuplicates(Range& r)
unique.reserve(r.size());
std::vector<size_t> indices;
size_t count = 0;
- const typename Range::iterator end = r.end();
+ const typename Range::const_iterator end = r.end();
for(typename Range::const_iterator it = r.begin();
it != end; ++it, ++count)
{