diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-12-05 20:33:50 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-12-05 20:33:50 +0800 |
| commit | 5edaa008efabb1b97446bed2f6b542cf01eb3c70 (patch) | |
| tree | 96472d1b554634b0bafdd4d8d7ce22321a0e179d /include/cru/base/platform/unix | |
| parent | 8dcca49f42627400773dcc707ebaa757cbeef37b (diff) | |
| download | cru-5edaa008efabb1b97446bed2f6b542cf01eb3c70.tar.gz cru-5edaa008efabb1b97446bed2f6b542cf01eb3c70.tar.bz2 cru-5edaa008efabb1b97446bed2f6b542cf01eb3c70.zip | |
Remove CRU_DEFINE_CLASS_LOG_TAG.
Diffstat (limited to 'include/cru/base/platform/unix')
| -rw-r--r-- | include/cru/base/platform/unix/EventLoop.h | 4 | ||||
| -rw-r--r-- | include/cru/base/platform/unix/PosixSpawnSubProcess.h | 3 |
2 files changed, 5 insertions, 2 deletions
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<pollfd>().events); using PollRevents = decltype(std::declval<pollfd>().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(); |
