mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
Rage hacking to get bash to run. It finally runs. So cool! :^)
This commit is contained in:
parent
9b70808ab5
commit
d5d45d1088
31 changed files with 567 additions and 61 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue