summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore/CTimer.h')
-rw-r--r--Libraries/LibCore/CTimer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibCore/CTimer.h b/Libraries/LibCore/CTimer.h
index b6c1c2005f..3abb54d6f6 100644
--- a/Libraries/LibCore/CTimer.h
+++ b/Libraries/LibCore/CTimer.h
@@ -4,6 +4,7 @@
#include <LibCore/CObject.h>
class CTimer final : public CObject {
+ C_OBJECT(CTimer)
public:
explicit CTimer(CObject* parent = nullptr);
CTimer(int interval, Function<void()>&& timeout_handler, CObject* parent = nullptr);
@@ -29,8 +30,6 @@ public:
Function<void()> on_timeout;
- virtual const char* class_name() const override { return "CTimer"; }
-
private:
virtual void timer_event(CTimerEvent&) override;