| Index: cc/scoped_ptr_vector.h
|
| diff --git a/cc/scoped_ptr_vector.h b/cc/scoped_ptr_vector.h
|
| index b4271e8231066f5d1bf14c5481e350658d52a183..ee1edbbf9f6eb4349b2af2ed344af1ac3b3773de 100644
|
| --- a/cc/scoped_ptr_vector.h
|
| +++ b/cc/scoped_ptr_vector.h
|
| @@ -84,6 +84,10 @@ class ScopedPtrVector {
|
| data_.insert(data_.begin() + index, item.release());
|
| }
|
|
|
| + void swap(ScopedPtrVector<T>& other) {
|
| + data_.swap(other.data_);
|
| + }
|
| +
|
| iterator begin() { return data_.begin(); }
|
| const_iterator begin() const { return data_.begin(); }
|
| iterator end() { return data_.end(); }
|
|
|