| Index: Source/platform/graphics/ListContainer.h
|
| diff --git a/Source/platform/graphics/ListContainer.h b/Source/platform/graphics/ListContainer.h
|
| index a63bffb698daf568c48aa1fe1cae414a7fefd40e..6d5f22ddc4772866346cdad32741666e34cbecd2 100644
|
| --- a/Source/platform/graphics/ListContainer.h
|
| +++ b/Source/platform/graphics/ListContainer.h
|
| @@ -264,6 +264,12 @@ public:
|
| return new (*at) DerivedElementType();
|
| }
|
|
|
| + template <typename DerivedElementType>
|
| + void swap(ListContainer<DerivedElementType>& other)
|
| + {
|
| + m_data.swap(other.m_data);
|
| + }
|
| +
|
| // Appends a new item without copying. The original item will not be
|
| // destructed and will be replaced with a new DerivedElementType. The
|
| // DerivedElementType does not have to match the moved type as a full block
|
|
|