diff options
Diffstat (limited to 'Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h')
-rw-r--r-- | Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h b/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h index 0ccc31166a..d0585e1c46 100644 --- a/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h +++ b/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h @@ -13,7 +13,7 @@ class CharacterMapFileListModel final : public GUI::Model { public: static NonnullRefPtr<CharacterMapFileListModel> create(Vector<String>& file_names) { - return adopt(*new CharacterMapFileListModel(file_names)); + return adopt_ref(*new CharacterMapFileListModel(file_names)); } virtual ~CharacterMapFileListModel() override { } |