diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h index a9960880fb..dc4f2758a4 100644 --- a/Source/cmAlgorithms.h +++ b/Source/cmAlgorithms.h @@ -275,7 +275,6 @@ typename Range::const_iterator cmRemoveDuplicates(Range& r) { return r.end(); } - std::sort(indices.begin(), indices.end()); return cmRemoveIndices(r, indices); }