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. --- src/ui/ThemeResourceDictionary.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui/ThemeResourceDictionary.cpp') diff --git a/src/ui/ThemeResourceDictionary.cpp b/src/ui/ThemeResourceDictionary.cpp index fff25e09..421723f5 100644 --- a/src/ui/ThemeResourceDictionary.cpp +++ b/src/ui/ThemeResourceDictionary.cpp @@ -47,10 +47,11 @@ void ThemeResourceDictionary::UpdateResourceMap(xml::XmlElementNode* xml_root) { resource_map_[entry.name] = std::move(entry); } else { - CRU_LOG_TAG_DEBUG(u"Ignore unknown element {} of theme.", c->GetTag()); + CRU_LOG_TAG_DEBUG("Ignore unknown element {} of theme.", + c->GetTag().ToUtf8()); } } else { - CRU_LOG_TAG_DEBUG(u"Ignore text or comment node of theme."); + CRU_LOG_TAG_DEBUG("Ignore text or comment node of theme."); } } } -- cgit v1.2.3