1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

LibKeyboard: Don't assert on failure

This commit is contained in:
Ben Wiederhake 2021-01-30 22:41:29 +01:00 committed by Andreas Kling
parent d9e7e13fb2
commit 0e3408d4d6
4 changed files with 21 additions and 16 deletions

View file

@ -39,8 +39,8 @@ namespace Keyboard {
class CharacterMap {
public:
CharacterMap(const String& map_name);
CharacterMap(const String& map_name, const CharacterMapData& map_data);
static Optional<CharacterMap> load_from_file(const String& file_name);
#ifndef KERNEL
int set_system_map();