1
Fork 0
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:
Andreas Kling 2018-12-21 02:10:45 +01:00
parent 89040cdc99
commit ec1c487dcd
43 changed files with 183 additions and 185 deletions

View file

@ -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;