| Index: sky/engine/wtf/Vector.h
|
| diff --git a/sky/engine/wtf/Vector.h b/sky/engine/wtf/Vector.h
|
| index 0912c2cebc7469b36e1d680028fdbf8b36d0dac0..4e5f263dd7f9d22d7feefa5bd0a96d31398d22bc 100644
|
| --- a/sky/engine/wtf/Vector.h
|
| +++ b/sky/engine/wtf/Vector.h
|
| @@ -613,8 +613,10 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
|
| template<size_t otherCapacity>
|
| Vector& operator=(const Vector<T, otherCapacity, Allocator>&);
|
|
|
| +#if COMPILER_SUPPORTS(CXX_RVALUE_REFERENCES)
|
| Vector(Vector&&);
|
| Vector& operator=(Vector&&);
|
| +#endif
|
|
|
| size_t size() const { return m_size; }
|
| size_t capacity() const { return Base::capacity(); }
|
| @@ -794,6 +796,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
|
| return *this;
|
| }
|
|
|
| +#if COMPILER_SUPPORTS(CXX_RVALUE_REFERENCES)
|
| template<typename T, size_t inlineCapacity, typename Allocator>
|
| Vector<T, inlineCapacity, Allocator>::Vector(Vector<T, inlineCapacity, Allocator>&& other)
|
| {
|
| @@ -809,6 +812,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
|
| swap(other);
|
| return *this;
|
| }
|
| +#endif
|
|
|
| template<typename T, size_t inlineCapacity, typename Allocator>
|
| template<typename U>
|
|
|