AK: Make unchecked_append actually unchecked
Previously it was still VERIFY'ing that there was space, this commit downgrades that to an ASSERT.
This commit is contained in:
parent
c30e0fc602
commit
12ca0cdd4a
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ public:
|
|||
ALWAYS_INLINE void unchecked_append(U&& value)
|
||||
requires(CanBePlacedInsideVector<U>)
|
||||
{
|
||||
VERIFY(m_size < capacity());
|
||||
ASSERT(m_size < capacity());
|
||||
if constexpr (want_fast_last_access) {
|
||||
++m_metadata.last_slot;
|
||||
++m_size;
|
||||
|
|
|
|||
Loading…
Reference in a new issue