diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 02:10:45 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 02:10:45 +0100 |
commit | ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8 (patch) | |
tree | 797d0ec90846ece3c658d55f1507585c85d0b91f /AK/Vector.h | |
parent | 89040cdc99d56e0a1a80b972db18d231c155ace0 (diff) | |
download | serenity-ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8.zip |
Yet another pass of style fixes.
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 d52cea64e2..568da8ae86 100644 --- a/AK/Vector.h +++ b/AK/Vector.h @@ -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; |