aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/unix
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/base/platform/unix')
-rw-r--r--include/cru/base/platform/unix/EventLoop.h4
-rw-r--r--include/cru/base/platform/unix/PosixSpawnSubProcess.h3
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();