diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-10-17 08:37:30 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-10-17 08:37:30 +0800 |
commit | 3c8d5c8f732239a8b50418be27464e30b9dddeae (patch) | |
tree | 8ffb46c18e48c8463c1fb16fcacf216f296b8a1f /src/ui/mapper/MapperRegistry.cpp | |
parent | 37943858b3b260589b5dc222bb5184d2846fb6dc (diff) | |
download | cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.gz cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.bz2 cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.zip |
Exception remove string.
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); |