summaryrefslogtreecommitdiffstats
path: root/Source/cmAlgorithms.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-17 08:02:03 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-17 19:18:57 (GMT)
commit74906322585034968142e1d1663f604e2c97332c (patch)
treee84da317489c29bd7dc6f44ade5c0fcde6734077 /Source/cmAlgorithms.h
parent2acd04c96624ce530edcb0ca991bddad7f70023e (diff)
downloadCMake-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/cmAlgorithms.h')
-rw-r--r--Source/cmAlgorithms.h1
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);
}