mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
More coding style changes.
This commit is contained in:
parent
d824442e3e
commit
f6e27c2abe
39 changed files with 216 additions and 216 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue