cmAlgorithms: Remove sort of already-sorted container.

The indices is populated by an increasing number.
This commit is contained in:
Stephen Kelly 2015-02-17 09:02:03 +01:00
parent 2acd04c966
commit 7490632258
1 changed files with 0 additions and 1 deletions

View File

@ -275,7 +275,6 @@ typename Range::const_iterator cmRemoveDuplicates(Range& r)
{
return r.end();
}
std::sort(indices.begin(), indices.end());
return cmRemoveIndices(r, indices);
}