mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Yet another pass of style fixes.
This commit is contained in:
parent
89040cdc99
commit
ec1c487dcd
43 changed files with 183 additions and 185 deletions
|
@ -109,7 +109,7 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
bool isEmpty() const { return size() == 0; }
|
||||
bool is_empty() const { return size() == 0; }
|
||||
size_t size() const { return m_impl ? m_impl->size() : 0; }
|
||||
size_t capacity() const { return m_impl ? m_impl->capacity() : 0; }
|
||||
|
||||
|
@ -130,7 +130,7 @@ public:
|
|||
|
||||
T takeLast()
|
||||
{
|
||||
ASSERT(!isEmpty());
|
||||
ASSERT(!is_empty());
|
||||
T value = move(last());
|
||||
last().~T();
|
||||
--m_impl->m_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue