Index: src/list-inl.h |
diff --git a/src/list-inl.h b/src/list-inl.h |
index 408859e45668adcc5e64a38df09159ac92b61ab4..d815a7e227004ac6accdca4f928da1d362addabf 100644 |
--- a/src/list-inl.h |
+++ b/src/list-inl.h |
@@ -216,7 +216,7 @@ void List<T, P>::Sort(int (*cmp)(const T* x, const T* y)) { |
template<typename T, class P> |
void List<T, P>::Sort() { |
- Sort(PointerValueCompare<T>); |
+ ToVector().Sort(); |
} |