Index: src/vector.h |
diff --git a/src/vector.h b/src/vector.h |
index d022fde3a5bb25d88b7fba5e9ca4ae375e94d20b..895c61b4ece176acfe8820f13779140ff3c552c2 100644 |
--- a/src/vector.h |
+++ b/src/vector.h |
@@ -69,10 +69,6 @@ |
return Vector<T>(result, length_); |
} |
- void Sort(int (*cmp)(const T*, const T*), size_t s, size_t l) { |
- std::sort(start() + s, start() + s + l, RawComparer(cmp)); |
- } |
- |
void Sort(int (*cmp)(const T*, const T*)) { |
std::sort(start(), start() + length(), RawComparer(cmp)); |
} |
@@ -80,16 +76,6 @@ |
void Sort() { |
std::sort(start(), start() + length()); |
} |
- |
- void StableSort(int (*cmp)(const T*, const T*), size_t s, size_t l) { |
- std::stable_sort(start() + s, start() + s + l, RawComparer(cmp)); |
- } |
- |
- void StableSort(int (*cmp)(const T*, const T*)) { |
- std::stable_sort(start(), start() + length(), RawComparer(cmp)); |
- } |
- |
- void StableSort() { std::stable_sort(start(), start() + length()); } |
void Truncate(int length) { |
DCHECK(length <= length_); |