Index: cc/base/scoped_ptr_vector.h |
diff --git a/cc/base/scoped_ptr_vector.h b/cc/base/scoped_ptr_vector.h |
index 1e69b161c03728cc8f9f580bf92ef50984d456af..01f4d3d0fc4ed795eeee78feab7d35839e009d85 100644 |
--- a/cc/base/scoped_ptr_vector.h |
+++ b/cc/base/scoped_ptr_vector.h |
@@ -5,6 +5,9 @@ |
#ifndef CC_BASE_SCOPED_PTR_VECTOR_H_ |
#define CC_BASE_SCOPED_PTR_VECTOR_H_ |
+#include <algorithm> |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
@@ -142,7 +145,7 @@ class ScopedPtrVector { |
template<class Compare> |
inline void sort(Compare comp) { |
- std::sort(data_.begin(), data_.end(), comp); |
+ std::sort(data_.begin(), data_.end(), comp); |
} |
iterator begin() { return static_cast<iterator>(data_.begin()); } |