diff options
Diffstat (limited to 'src/ui/mapper/MapperRegistry.cpp')
-rw-r--r-- | src/ui/mapper/MapperRegistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/mapper/MapperRegistry.cpp b/src/ui/mapper/MapperRegistry.cpp index a542bfca..d877f14a 100644 --- a/src/ui/mapper/MapperRegistry.cpp +++ b/src/ui/mapper/MapperRegistry.cpp @@ -74,7 +74,7 @@ MapperRegistry::~MapperRegistry() { void MapperRegistry::RegisterMapper(MapperBase *mapper) { if (std::find(mapper_list_.cbegin(), mapper_list_.cend(), mapper) != mapper_list_.cend()) { - throw Exception(u"This mapper is already registered."); + throw Exception("This mapper is already registered."); } mapper_list_.push_back(mapper); @@ -83,7 +83,7 @@ void MapperRegistry::RegisterMapper(MapperBase *mapper) { void MapperRegistry::UnregisterMapper(MapperBase *mapper) { auto it = std::find(mapper_list_.begin(), mapper_list_.end(), mapper); if (it == mapper_list_.end()) { - throw Exception(u"This mapper is not registered."); + throw Exception("This mapper is not registered."); } mapper_list_.erase(it); |