cmRemoveDuplicates: Fix iterator -> const_iterator.

This commit is contained in:
Stephen Kelly 2015-03-08 14:04:54 +01:00
parent 4448f175c8
commit 95dd238f5c
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,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)
{