From 5edaa008efabb1b97446bed2f6b542cf01eb3c70 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 5 Dec 2025 20:33:50 +0800 Subject: Remove CRU_DEFINE_CLASS_LOG_TAG. --- include/cru/base/platform/unix/EventLoop.h | 4 +++- include/cru/base/platform/unix/PosixSpawnSubProcess.h | 3 ++- 2 files changed, 5 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 84d413fb..69a1c707 100644 --- a/include/cru/base/platform/unix/EventLoop.h +++ b/include/cru/base/platform/unix/EventLoop.h @@ -46,7 +46,9 @@ class UnixTimerFile : public Object { }; class UnixEventLoop : public Object { - CRU_DEFINE_CLASS_LOG_TAG("cru::platform::unix::UnixEventLoop") + private: + constexpr static auto kLogTag = "cru::platform::unix::UnixEventLoop"; + public: using PollEvents = decltype(std::declval().events); using PollRevents = decltype(std::declval().revents); diff --git a/include/cru/base/platform/unix/PosixSpawnSubProcess.h b/include/cru/base/platform/unix/PosixSpawnSubProcess.h index 11aa7372..f8159b10 100644 --- a/include/cru/base/platform/unix/PosixSpawnSubProcess.h +++ b/include/cru/base/platform/unix/PosixSpawnSubProcess.h @@ -16,7 +16,8 @@ namespace cru::platform::unix { class PosixSpawnSubProcessImpl : public Object, public virtual IPlatformSubProcessImpl { - CRU_DEFINE_CLASS_LOG_TAG("PosixSpawnSubProcess") + private: + constexpr static auto kLogTag = "PosixSpawnSubProcess"; public: explicit PosixSpawnSubProcessImpl(); -- cgit v1.2.3