Browse Source

cmAlgorithms: Remove sort of already-sorted container.

The indices is populated by an increasing number.
Stephen Kelly 10 years ago
parent
commit
7490632258
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/cmAlgorithms.h

+ 0 - 1
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);
 }