mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
Fix some issues uncovered by the spawn stress test.
This commit is contained in:
parent
f6179ad9f9
commit
3f3535213b
5 changed files with 9 additions and 7 deletions
|
@ -164,6 +164,7 @@ public:
|
|||
|
||||
void unchecked_append(T&& value)
|
||||
{
|
||||
ASSERT((size() + 1) <= capacity());
|
||||
new (m_impl->slot(m_impl->m_size)) T(move(value));
|
||||
++m_impl->m_size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue