| Index: cc/base/list_container.h
|
| diff --git a/cc/base/list_container.h b/cc/base/list_container.h
|
| index 04c7f14a0322bcc03b99d761540f401742beab7a..b34e58805c507ebac68086cf4736320367b9fbbe 100644
|
| --- a/cc/base/list_container.h
|
| +++ b/cc/base/list_container.h
|
| @@ -144,6 +144,11 @@ class ListContainer {
|
| return result;
|
| }
|
|
|
| + ListContainer& operator=(ListContainer&& other) {
|
| + helper_.data_.swap(other.helper_.data_);
|
| + return *this;
|
| + }
|
| +
|
| template <typename DerivedElementType>
|
| void swap(ListContainer<DerivedElementType>& other) {
|
| helper_.data_.swap(other.helper_.data_);
|
|
|