Index: base/memory/scoped_vector.h |
diff --git a/base/memory/scoped_vector.h b/base/memory/scoped_vector.h |
index 90a1f7d7189e1b6472558c77740bd17af168c40c..59144c0e82ac600337f249dc41154a66652de33b 100644 |
--- a/base/memory/scoped_vector.h |
+++ b/base/memory/scoped_vector.h |
@@ -41,8 +41,8 @@ class ScopedVector { |
return *this; |
} |
- T*& operator[](size_t index) { return v_[index]; } |
- const T* operator[](size_t index) const { return v_[index]; } |
+ reference operator[](size_t index) { return v_[index]; } |
+ const_reference operator[](size_t index) const { return v_[index]; } |
bool empty() const { return v_.empty(); } |
size_t size() const { return v_.size(); } |