From 4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 16 Nov 2025 10:37:36 +0800 Subject: Rename ClonePtr, update theme. --- src/ui/mapper/style/StyleRuleMapper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/mapper/style/StyleRuleMapper.cpp') diff --git a/src/ui/mapper/style/StyleRuleMapper.cpp b/src/ui/mapper/style/StyleRuleMapper.cpp index f14d11da..30fedb16 100644 --- a/src/ui/mapper/style/StyleRuleMapper.cpp +++ b/src/ui/mapper/style/StyleRuleMapper.cpp @@ -1,5 +1,5 @@ #include "cru/ui/mapper/style/StyleRuleMapper.h" -#include "cru/base/ClonablePtr.h" +#include "cru/base/ClonePtr.h" #include "cru/ui/mapper/MapperRegistry.h" #include "cru/ui/mapper/style/IConditionMapper.h" #include "cru/ui/mapper/style/IStylerMapper.h" @@ -13,15 +13,15 @@ bool StyleRuleMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) { return cru::string::CaseInsensitiveCompare(node->GetTag(), "StyleRule") == 0; } -ClonablePtr StyleRuleMapper::DoMapFromXml( +ClonePtr StyleRuleMapper::DoMapFromXml( xml::XmlElementNode* node) { std::vector condition_mappers = MapperRegistry::GetInstance()->GetMappersByInterface(); std::vector styler_mappers = MapperRegistry::GetInstance()->GetMappersByInterface(); - std::vector> conditions; - std::vector> stylers; + std::vector> conditions; + std::vector> stylers; for (auto child : node->GetChildren()) { if (child->GetType() == xml::XmlNode::Type::Element) { -- cgit v1.2.3