diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-17 08:02:03 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-17 19:18:57 (GMT) |
commit | 74906322585034968142e1d1663f604e2c97332c (patch) | |
tree | e84da317489c29bd7dc6f44ade5c0fcde6734077 /Source | |
parent | 2acd04c96624ce530edcb0ca991bddad7f70023e (diff) | |
download | CMake-74906322585034968142e1d1663f604e2c97332c.zip CMake-74906322585034968142e1d1663f604e2c97332c.tar.gz CMake-74906322585034968142e1d1663f604e2c97332c.tar.bz2 |
cmAlgorithms: Remove sort of already-sorted container.
The indices is populated by an increasing number.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAlgorithms.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |