From 06f16479ae1b727252404b763b60c924e3fe7903 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 3 Nov 2025 20:04:52 +0800 Subject: Remove Object2. --- include/cru/base/platform/unix/EventLoop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/base/platform/unix') diff --git a/include/cru/base/platform/unix/EventLoop.h b/include/cru/base/platform/unix/EventLoop.h index 697c6f37..0bc68138 100644 --- a/include/cru/base/platform/unix/EventLoop.h +++ b/include/cru/base/platform/unix/EventLoop.h @@ -17,7 +17,7 @@ #include namespace cru::platform::unix { -class UnixTimerFile : public Object2 { +class UnixTimerFile : public Object { public: template explicit UnixTimerFile(std::chrono::duration time) { @@ -45,7 +45,7 @@ class UnixTimerFile : public Object2 { std::thread thread_; }; -class UnixEventLoop : public Object2 { +class UnixEventLoop : public Object { CRU_DEFINE_CLASS_LOG_TAG("cru::platform::unix::UnixEventLoop") public: using PollEvents = decltype(std::declval().events); -- cgit v1.2.3