aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/unix/EventLoop.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-03 20:04:52 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-03 20:04:52 +0800
commit06f16479ae1b727252404b763b60c924e3fe7903 (patch)
tree09cdf8e5e90ac85ea19840fad1a2cd149c1fc3f6 /include/cru/base/platform/unix/EventLoop.h
parent5b46d14997c2ff2244f303216e4e286665ac8a42 (diff)
downloadcru-06f16479ae1b727252404b763b60c924e3fe7903.tar.gz
cru-06f16479ae1b727252404b763b60c924e3fe7903.tar.bz2
cru-06f16479ae1b727252404b763b60c924e3fe7903.zip
Remove Object2.
Diffstat (limited to 'include/cru/base/platform/unix/EventLoop.h')
-rw-r--r--include/cru/base/platform/unix/EventLoop.h4
1 files changed, 2 insertions, 2 deletions
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 <utility>
namespace cru::platform::unix {
-class UnixTimerFile : public Object2 {
+class UnixTimerFile : public Object {
public:
template <class Rep, class Period>
explicit UnixTimerFile(std::chrono::duration<Rep, Period> 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<pollfd>().events);