mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
This is a preparatory step to making `get()` return `ErrorOr`.
This commit is contained in:
parent
efe4329f9f
commit
1dd6b7f5b7
76 changed files with 671 additions and 671 deletions
|
@ -97,7 +97,7 @@ DeprecatedString KeymapSwitcher::get_current_keymap() const
|
|||
auto json = JsonValue::from_string(proc_keymap->read_all()).release_value_but_fixme_should_propagate_errors();
|
||||
auto const& keymap_object = json.as_object();
|
||||
VERIFY(keymap_object.has("keymap"sv));
|
||||
return keymap_object.get("keymap"sv).to_deprecated_string();
|
||||
return keymap_object.get_deprecated("keymap"sv).to_deprecated_string();
|
||||
}
|
||||
|
||||
void KeymapSwitcher::set_keymap(const AK::DeprecatedString& keymap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue