diff options
Diffstat (limited to 'src/ui/mapper/style/CursorStylerMapper.cpp')
-rw-r--r-- | src/ui/mapper/style/CursorStylerMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mapper/style/CursorStylerMapper.cpp b/src/ui/mapper/style/CursorStylerMapper.cpp index 103d9d82..6798798c 100644 --- a/src/ui/mapper/style/CursorStylerMapper.cpp +++ b/src/ui/mapper/style/CursorStylerMapper.cpp @@ -12,7 +12,7 @@ bool CursorStylerMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) { ClonablePtr<ui::style::CursorStyler> CursorStylerMapper::DoMapFromXml( xml::XmlElementNode* node) { auto cursor_mapper = - MapperRegistry::GetInstance()->GetRefMapper<platform::gui::ICursor>(); + MapperRegistry::GetInstance()->GetSharedPtrMapper<platform::gui::ICursor>(); std::shared_ptr<platform::gui::ICursor> cursor; for (auto child : node->GetChildren()) { |