summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibKeyboard/CharacterMapFile.cpp')
-rw-r--r--Userland/Libraries/LibKeyboard/CharacterMapFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp b/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp
index 05fb406383..f138b9ae44 100644
--- a/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp
+++ b/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp
@@ -23,7 +23,7 @@ Optional<CharacterMapData> CharacterMapFile::load_from_file(const String& filena
}
auto file = Core::File::construct(path);
- file->open(Core::IODevice::ReadOnly);
+ file->open(Core::OpenMode::ReadOnly);
if (!file->is_open()) {
dbgln("Failed to open {}: {}", filename, file->error_string());
return {};