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

Start fixing up AK to work inside the kernel.

This commit is contained in:
Andreas Kling 2018-10-16 13:59:28 +02:00
parent 1203c327c7
commit 5d465582a3
10 changed files with 68 additions and 47 deletions

View file

@ -15,7 +15,7 @@ public:
void release()
{
assert(m_retainCount);
ASSERT(m_retainCount);
if (!--m_retainCount)
delete static_cast<const T*>(this);
}