diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-01-30 22:58:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-01 09:54:32 +0100 |
commit | 272df54a3e314bdf50009884516116fc814be9c3 (patch) | |
tree | 6235dab1b288403221ea5106d1d42c9cffd95cea /Kernel/Devices/KeyboardDevice.h | |
parent | 261727957945a510c8c41af99bc903bd8ca60e74 (diff) | |
download | serenity-272df54a3e314bdf50009884516116fc814be9c3.zip |
Kernel+LibKeyboard: Define the default keymap only in one place
Because it was 'static const' and also shared with userland programs,
the default keymap was defined in multiple places. This commit should
save several kilobytes! :^)
Diffstat (limited to 'Kernel/Devices/KeyboardDevice.h')
-rw-r--r-- | Kernel/Devices/KeyboardDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/KeyboardDevice.h b/Kernel/Devices/KeyboardDevice.h index 11e3b4d65e..1770d40a30 100644 --- a/Kernel/Devices/KeyboardDevice.h +++ b/Kernel/Devices/KeyboardDevice.h @@ -105,7 +105,7 @@ private: bool m_has_e0_prefix { false }; EntropySource m_entropy_source; - Keyboard::CharacterMap m_character_map = Keyboard::CharacterMap("en", Keyboard::default_character_map); + Keyboard::CharacterMap m_character_map; }; class KeyboardClient { |