diff options
Diffstat (limited to 'Userland/Libraries/LibKeyboard/CharacterMap.h')
-rw-r--r-- | Userland/Libraries/LibKeyboard/CharacterMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibKeyboard/CharacterMap.h b/Userland/Libraries/LibKeyboard/CharacterMap.h index 5a45c34fdb..6dd701d216 100644 --- a/Userland/Libraries/LibKeyboard/CharacterMap.h +++ b/Userland/Libraries/LibKeyboard/CharacterMap.h @@ -47,12 +47,12 @@ public: static Result<CharacterMap, OSError> fetch_system_map(); #endif - u32 get_char(KeyEvent); + u32 get_char(KeyEvent) const; void set_character_map_data(CharacterMapData character_map_data); void set_character_map_name(const String& character_map_name); const CharacterMapData& character_map_data() const { return m_character_map_data; }; - const String character_map_name(); + const String& character_map_name() const; private: CharacterMapData m_character_map_data; |