Index: src/list.h |
=================================================================== |
--- src/list.h (revision 1993) |
+++ src/list.h (working copy) |
@@ -48,6 +48,7 @@ |
public: |
INLINE(explicit List(int capacity)) { Initialize(capacity); } |
+ INLINE(explicit List(const List<T, P>& other)); |
INLINE(~List()) { DeleteData(data_); } |
INLINE(void* operator new(size_t size)) { return P::New(size); } |
@@ -125,8 +126,6 @@ |
// Inlined implementation of ResizeAdd, shared by inlined and |
// non-inlined versions of ResizeAdd. |
void ResizeAddInternal(const T& element); |
- |
- DISALLOW_COPY_AND_ASSIGN(List); |
}; |
class FrameElement; |