diff options
author | RasmusNylander <43042651+rasmusnylander@users.noreply.github.com> | 2021-12-16 17:46:49 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-06 17:54:03 +0100 |
commit | 4e65c4dae4d79d533fa1a3622544a9a0eaeb8c88 (patch) | |
tree | edd004c19854b927b891d84fc15bfa13413953e0 /Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp | |
parent | 017135b44e91b0d9527e8f56212647c49a6faaf7 (diff) | |
download | serenity-4e65c4dae4d79d533fa1a3622544a9a0eaeb8c88.zip |
LibKeyboard: Change some Optional<T> returns to ErrorOr<T>
Makes CharacterMapFile::load_from_file and CharacterMap::load_from_file
return ErrorOr instead of Optional. This makes them a little nicer to
use and a little easier to read, as they seem to have been approximating
this.
Diffstat (limited to 'Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp')
0 files changed, 0 insertions, 0 deletions