cmAlgorithms: Remove sort of already-sorted container.
The indices is populated by an increasing number.
This commit is contained in:
parent
2acd04c966
commit
7490632258
|
@ -275,7 +275,6 @@ typename Range::const_iterator cmRemoveDuplicates(Range& r)
|
|||
{
|
||||
return r.end();
|
||||
}
|
||||
std::sort(indices.begin(), indices.end());
|
||||
return cmRemoveIndices(r, indices);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue