From a0403d95bea3e3a3eaedf71a0d9c6d4e1316bd8c Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 7 Sep 2025 11:46:11 +0800 Subject: Use std::string in logger. --- include/cru/platform/graphics/direct2d/Painter.h | 2 +- include/cru/platform/graphics/quartz/Painter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/platform/graphics') diff --git a/include/cru/platform/graphics/direct2d/Painter.h b/include/cru/platform/graphics/direct2d/Painter.h index 5e0fc92f..c5d5e86a 100644 --- a/include/cru/platform/graphics/direct2d/Painter.h +++ b/include/cru/platform/graphics/direct2d/Painter.h @@ -12,7 +12,7 @@ class CRU_WIN_GRAPHICS_DIRECT_API D2DDeviceContextPainter : public DirectResource, public virtual IPainter, public virtual IComResource { - CRU_DEFINE_CLASS_LOG_TAG(u"D2DDeviceContextPainter") + CRU_DEFINE_CLASS_LOG_TAG("D2DDeviceContextPainter") public: explicit D2DDeviceContextPainter(ID2D1DeviceContext1* device_context, bool release = false); diff --git a/include/cru/platform/graphics/quartz/Painter.h b/include/cru/platform/graphics/quartz/Painter.h index 9e21904d..ec0e57af 100644 --- a/include/cru/platform/graphics/quartz/Painter.h +++ b/include/cru/platform/graphics/quartz/Painter.h @@ -11,7 +11,7 @@ namespace cru::platform::graphics::quartz { class QuartzCGContextPainter : public OsxQuartzResource, public virtual IPainter { - CRU_DEFINE_CLASS_LOG_TAG(u"QuartzCGContextPainter") + CRU_DEFINE_CLASS_LOG_TAG("QuartzCGContextPainter") public: explicit QuartzCGContextPainter( -- cgit v1.2.3