diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-11 15:36:40 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-11 15:38:07 +0100 |
commit | d5d45d1088d28b7640bcc3013810b38c702c3933 (patch) | |
tree | 2e9ae7ce429b12cf993dd9adb26965e9d46d305d /AK/Vector.h | |
parent | 9b70808ab562415e1ce1510fc27c003cc193213e (diff) | |
download | serenity-d5d45d1088d28b7640bcc3013810b38c702c3933.zip |
Rage hacking to get bash to run. It finally runs. So cool! :^)
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); |