| Index: src/list-inl.h
|
| diff --git a/src/list-inl.h b/src/list-inl.h
|
| index d815a7e227004ac6accdca4f928da1d362addabf..143c830ee92ad3d11fe62372dc2a6947557ef8c3 100644
|
| --- a/src/list-inl.h
|
| +++ b/src/list-inl.h
|
| @@ -104,6 +104,13 @@ Vector<T> List<T, P>::AddBlock(T value, int count, P alloc) {
|
|
|
|
|
| template<typename T, class P>
|
| +void List<T, P>::Set(int index, const T& elm) {
|
| + ASSERT(index >= 0 && index <= length_);
|
| + data_[index] = elm;
|
| +}
|
| +
|
| +
|
| +template<typename T, class P>
|
| void List<T, P>::InsertAt(int index, const T& elm, P alloc) {
|
| ASSERT(index >= 0 && index <= length_);
|
| Add(elm, alloc);
|
|
|