diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 00:39:25 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 00:39:25 +0100 |
commit | f6e27c2abe9da2ed1159cfc30618afc66bfbab79 (patch) | |
tree | 511a2b15828a5b431bc54a6c95d0986453d48753 /AK/CircularQueue.h | |
parent | d824442e3e4961e6df18aeb625f645a98760ac2a (diff) | |
download | serenity-f6e27c2abe9da2ed1159cfc30618afc66bfbab79.zip |
More coding style changes.
Diffstat (limited to 'AK/CircularQueue.h')
-rw-r--r-- | AK/CircularQueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/CircularQueue.h b/AK/CircularQueue.h index b4aec167ec..88e95e3480 100644 --- a/AK/CircularQueue.h +++ b/AK/CircularQueue.h @@ -14,7 +14,7 @@ public: m_elements[i] = T(); } - bool isEmpty() const { return !m_size; } + bool is_empty() const { return !m_size; } size_t size() const { return m_size; } size_t capacity() const { return Capacity; } @@ -39,7 +39,7 @@ public: T dequeue() { - ASSERT(!isEmpty()); + ASSERT(!is_empty()); T value = m_elements[m_head]; m_head = (m_head + 1) % Capacity; --m_size; |