summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibKeyboard/CharacterMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibKeyboard/CharacterMap.cpp')
-rw-r--r--Userland/Libraries/LibKeyboard/CharacterMap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibKeyboard/CharacterMap.cpp b/Userland/Libraries/LibKeyboard/CharacterMap.cpp
index dec8014d0e..85b6df3e8e 100644
--- a/Userland/Libraries/LibKeyboard/CharacterMap.cpp
+++ b/Userland/Libraries/LibKeyboard/CharacterMap.cpp
@@ -12,14 +12,14 @@
namespace Keyboard {
-ErrorOr<CharacterMap> CharacterMap::load_from_file(const String& map_name)
+ErrorOr<CharacterMap> CharacterMap::load_from_file(String const& map_name)
{
auto result = TRY(CharacterMapFile::load_from_file(map_name));
return CharacterMap(map_name, result);
}
-CharacterMap::CharacterMap(const String& map_name, const CharacterMapData& map_data)
+CharacterMap::CharacterMap(String const& map_name, CharacterMapData const& map_data)
: m_character_map_data(map_data)
, m_character_map_name(map_name)
{
@@ -41,7 +41,7 @@ ErrorOr<CharacterMap> CharacterMap::fetch_system_map()
return CharacterMap { keymap_name, map_data };
}
-const String& CharacterMap::character_map_name() const
+String const& CharacterMap::character_map_name() const
{
return m_character_map_name;
}