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/platform/gui/osx/Cursor.mm | |
parent | 37943858b3b260589b5dc222bb5184d2846fb6dc (diff) | |
download | cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.gz cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.bz2 cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.zip |
Exception remove string.
Diffstat (limited to 'src/platform/gui/osx/Cursor.mm')
-rw-r--r-- | src/platform/gui/osx/Cursor.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/gui/osx/Cursor.mm b/src/platform/gui/osx/Cursor.mm index ec364fa7..9c25fdbd 100644 --- a/src/platform/gui/osx/Cursor.mm +++ b/src/platform/gui/osx/Cursor.mm @@ -24,7 +24,7 @@ OsxCursorPrivate::OsxCursorPrivate(OsxCursor* cursor, SystemCursorType cursor_ty ns_cursor_ = [NSCursor IBeamCursor]; break; default: - throw Exception(u"Unknown system cursor type."); + throw Exception("Unknown system cursor type."); } } @@ -87,7 +87,7 @@ std::shared_ptr<ICursor> OsxCursorManager::GetSystemCursor(SystemCursorType type case SystemCursorType::IBeam: return p_->ibeam_cursor_; default: - throw Exception(u"Unknown system cursor type."); + throw Exception("Unknown system cursor type."); } } } // namespace cru::platform::gui::osx |