From 74906322585034968142e1d1663f604e2c97332c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 17 Feb 2015 09:02:03 +0100 Subject: cmAlgorithms: Remove sort of already-sorted container. The indices is populated by an increasing number. --- Source/cmAlgorithms.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h index a996088..dc4f275 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); } -- cgit v0.12