| Index: Source/wtf/Vector.h
|
| diff --git a/Source/wtf/Vector.h b/Source/wtf/Vector.h
|
| index 6d4ec7676a865cc35e4c7ab4e593a05266e5d7af..c2ab2c50a694c2ba1c79e857ef6e75a9fc08c713 100644
|
| --- a/Source/wtf/Vector.h
|
| +++ b/Source/wtf/Vector.h
|
| @@ -620,7 +620,6 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
|
| template<typename U> void append(const U*, size_t);
|
| template<typename U> void append(const U&);
|
| template<typename U> void uncheckedAppend(const U& val);
|
| - template<size_t otherCapacity> void append(const Vector<T, otherCapacity, Allocator>&);
|
| template<typename U, size_t otherCapacity, typename V> void appendVector(const Vector<U, otherCapacity, V>&);
|
|
|
| template<typename U> void insert(size_t position, const U*, size_t);
|
| @@ -1006,15 +1005,6 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
|
| ++m_size;
|
| }
|
|
|
| - // This method should not be called append, a better name would be appendElements.
|
| - // It could also be eliminated entirely, and call sites could just use
|
| - // appendRange(val.begin(), val.end()).
|
| - template<typename T, size_t inlineCapacity, typename Allocator> template<size_t otherCapacity>
|
| - inline void Vector<T, inlineCapacity, Allocator>::append(const Vector<T, otherCapacity, Allocator>& val)
|
| - {
|
| - append(val.begin(), val.size());
|
| - }
|
| -
|
| template<typename T, size_t inlineCapacity, typename Allocator> template<typename U, size_t otherCapacity, typename OtherAllocator>
|
| inline void Vector<T, inlineCapacity, Allocator>::appendVector(const Vector<U, otherCapacity, OtherAllocator>& val)
|
| {
|
|
|