From 560c0ead613658a2b7444907c3d1d69e49be8c32 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Jan 2022 21:21:51 +0800 Subject: ... --- include/cru/ui/mapper/Mapper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/mapper') diff --git a/include/cru/ui/mapper/Mapper.hpp b/include/cru/ui/mapper/Mapper.hpp index ceda8e0f..c52bec70 100644 --- a/include/cru/ui/mapper/Mapper.hpp +++ b/include/cru/ui/mapper/Mapper.hpp @@ -69,11 +69,11 @@ class CRU_UI_API BasicMapper : public MapperBase { T MapFromXml(xml::XmlElementNode* node) { if (!SupportMapFromXml()) { - throw new Exception(u"This mapper does not support map from xml."); + throw Exception(u"This mapper does not support map from xml."); } if (!XmlElementIsOfThisType(node)) { - throw new Exception(u"This xml element is not of mapping type."); + throw Exception(u"This xml element is not of mapping type."); } return DoMapFromXml(node); -- cgit v1.2.3