aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/gui/Keyboard.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/gui/Keyboard.hpp')
-rw-r--r--include/cru/platform/gui/Keyboard.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/platform/gui/Keyboard.hpp b/include/cru/platform/gui/Keyboard.hpp
index b93b44fa..b025d86e 100644
--- a/include/cru/platform/gui/Keyboard.hpp
+++ b/include/cru/platform/gui/Keyboard.hpp
@@ -123,7 +123,7 @@ struct KeyModifiers {
static constexpr KeyModifier alt{0b100};
};
-CRU_PLATFORM_GUI_API std::u16string_view ToString(KeyCode key_code);
-CRU_PLATFORM_GUI_API std::u16string ToString(
- KeyModifier key_modifier, std::u16string_view separator = u"+");
+CRU_PLATFORM_GUI_API String ToString(KeyCode key_code);
+CRU_PLATFORM_GUI_API String ToString(KeyModifier key_modifier,
+ StringView separator = u"+");
} // namespace cru::platform::gui