diff options
Diffstat (limited to 'AK/Vector.h')
-rw-r--r-- | AK/Vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Vector.h b/AK/Vector.h index f57496533e..0c0a7c3e30 100644 --- a/AK/Vector.h +++ b/AK/Vector.h @@ -48,7 +48,7 @@ public: --m_size; } -private: +//private: friend class Vector<T, Allocator>; VectorImpl(size_t capacity) : m_capacity(capacity) { } @@ -235,7 +235,7 @@ public: ConstIterator begin() const { return ConstIterator(*this, 0); } ConstIterator end() const { return ConstIterator(*this, size()); } -private: +//private: static size_t paddedCapacity(size_t capacity) { return max(size_t(4), capacity + (capacity / 4) + 4); |