diff options
author | Brad King <brad.king@kitware.com> | 2015-03-12 15:26:35 -0400 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-12 15:26:35 -0400 |
commit | 15b06bc01278bafda15ff1fcece808959422d927 (patch) | |
tree | d31382c169a80c4fae2f0f04d0eebe3e18e42a87 /Source/cmAlgorithms.h | |
parent | 153e2dc3fc73fdb778e56e238441aab2a9f673dc (diff) | |
parent | 95dd238f5cde3aef28f09a2367ac7467d064ea10 (diff) | |
download | cmake-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.h | 2 |
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) { |