summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CObject.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-22 00:42:20 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-22 00:42:20 +0200
commit5614cdf30878d1075b777785f7c205d01b4bd03c (patch)
tree07c72d22f4868061cc94bf6c713ca4210b76629f /Libraries/LibCore/CObject.cpp
parentdf837562adf51a3ad2da59f61ed45e0ad5df5355 (diff)
downloadserenity-5614cdf30878d1075b777785f7c205d01b4bd03c.zip
LibCore: Remove leftover debug spam in CObject::remove_child()
Diffstat (limited to 'Libraries/LibCore/CObject.cpp')
-rw-r--r--Libraries/LibCore/CObject.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibCore/CObject.cpp b/Libraries/LibCore/CObject.cpp
index e13bbcf1aa..0058de5b39 100644
--- a/Libraries/LibCore/CObject.cpp
+++ b/Libraries/LibCore/CObject.cpp
@@ -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;