summaryrefslogtreecommitdiff
path: root/AK/Vector.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-11 15:36:40 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-11 15:38:07 +0100
commitd5d45d1088d28b7640bcc3013810b38c702c3933 (patch)
tree2e9ae7ce429b12cf993dd9adb26965e9d46d305d /AK/Vector.h
parent9b70808ab562415e1ce1510fc27c003cc193213e (diff)
downloadserenity-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.h4
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);