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
commit 0e3408d4d6
Notes: sideshowbarker 2024-07-18 22:40:18 +09:00
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();