1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:07:45 +00:00

More coding style changes.

This commit is contained in:
Andreas Kling 2018-12-03 00:39:25 +01:00
parent d824442e3e
commit f6e27c2abe
39 changed files with 216 additions and 216 deletions

View file

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