summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpkotzbach <56219881+pkotzbach@users.noreply.github.com>2020-09-11 18:41:50 +0200
committerGitHub <noreply@github.com>2020-09-11 18:41:50 +0200
commit072e94caa248f569ef8e341d1e8b712eff05d741 (patch)
tree0fac9ef726a39c0f2fa72c01ecbad8ca9e69f29c
parent3c03ce0c80dc0979947ec67700b0a7c071a8f5bd (diff)
downloadserenity-072e94caa248f569ef8e341d1e8b712eff05d741.zip
LibCore: Fixed DeferredInvoke debug message (#3456)
-rw-r--r--Libraries/LibCore/EventLoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/EventLoop.cpp b/Libraries/LibCore/EventLoop.cpp
index 0c1e51d4df..28b1f553da 100644
--- a/Libraries/LibCore/EventLoop.cpp
+++ b/Libraries/LibCore/EventLoop.cpp
@@ -383,7 +383,7 @@ void EventLoop::pump(WaitMode mode)
}
} else if (event.type() == Event::Type::DeferredInvoke) {
#ifdef DEFERRED_INVOKE_DEBUG
- printf("DeferredInvoke: receiver=%s{%p}\n", receiver->class_name(), receiver);
+ dbg() << "DeferredInvoke: receiver = " << receiver->class_name() << "{" << receiver << "}";
#endif
static_cast<DeferredInvocationEvent&>(event).m_invokee(*receiver);
} else {