| Index: src/list.h
|
| diff --git a/src/list.h b/src/list.h
|
| index 9abf61ce557918dd6f907ad8edb8c0ca377591c9..5a08212b1e048f772bcda57db26bfd768d1ef245 100644
|
| --- a/src/list.h
|
| +++ b/src/list.h
|
| @@ -67,12 +67,12 @@ class List {
|
| // Returns a reference to the element at index i. This reference is
|
| // not safe to use after operations that can change the list's
|
| // backing store (eg, Add).
|
| - inline T& operator[](int i) const {
|
| + inline T& operator[](int i) const {
|
| ASSERT(0 <= i);
|
| ASSERT(i < length_);
|
| return data_[i];
|
| }
|
| - inline T& at(int i) const { return operator[](i); }
|
| + inline T& at(int i) const { return operator[](i); }
|
| inline T& last() const { return at(length_ - 1); }
|
| inline T& first() const { return at(0); }
|
|
|
|
|