aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mapper/style/StyleRuleSetMapper.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-05 23:24:15 +0800
committercrupest <crupest@outlook.com>2022-03-05 23:24:15 +0800
commit1ddea64a948eca27f17a99f8601d737636be872b (patch)
treedd2bafa9385dc8a9e9c14872a7afc98f529038bd /src/ui/mapper/style/StyleRuleSetMapper.cpp
parent7697f1ca3904301e551e7500089b30034e84eb32 (diff)
downloadcru-1ddea64a948eca27f17a99f8601d737636be872b.tar.gz
cru-1ddea64a948eca27f17a99f8601d737636be872b.tar.bz2
cru-1ddea64a948eca27f17a99f8601d737636be872b.zip
...
Diffstat (limited to 'src/ui/mapper/style/StyleRuleSetMapper.cpp')
-rw-r--r--src/ui/mapper/style/StyleRuleSetMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mapper/style/StyleRuleSetMapper.cpp b/src/ui/mapper/style/StyleRuleSetMapper.cpp
index 7552e25f..d014edc7 100644
--- a/src/ui/mapper/style/StyleRuleSetMapper.cpp
+++ b/src/ui/mapper/style/StyleRuleSetMapper.cpp
@@ -14,7 +14,7 @@ bool StyleRuleSetMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) {
std::shared_ptr<ui::style::StyleRuleSet> StyleRuleSetMapper::DoMapFromXml(
xml::XmlElementNode* node) {
auto style_rule_mapper =
- MapperRegistry::GetInstance()->GetPtrMapper<StyleRule>();
+ MapperRegistry::GetInstance()->GetClonablePtrMapper<StyleRule>();
auto result = std::make_shared<StyleRuleSet>();