1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 03:54:58 +00:00

LibCore: Remove leftover debug spam in CObject::remove_child()

This commit is contained in:
Andreas Kling 2019-09-22 00:42:20 +02:00
parent df837562ad
commit 5614cdf308

View file

@ -67,7 +67,6 @@ void CObject::add_child(CObject& object)
void CObject::remove_child(CObject& object)
{
for (int i = 0; i < m_children.size(); ++i) {
dbg() << i << "] " << m_children.at(i);
if (m_children.ptr_at(i).ptr() == &object) {
// NOTE: We protect the child so it survives the handling of ChildRemoved.
NonnullRefPtr<CObject> protector = object;