mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09: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
Notes:
sideshowbarker
2024-07-17 01:34:39 +09:00
Author: https://github.com/AtkinsSJ
Commit: 1dd6b7f5b7
Pull-request: https://github.com/SerenityOS/serenity/pull/17044
76 changed files with 671 additions and 671 deletions
|
@ -56,8 +56,8 @@ ErrorOr<void> CommonLocationsProvider::load_from_json(StringView json_path)
|
|||
if (!entry_value.is_object())
|
||||
continue;
|
||||
auto entry = entry_value.as_object();
|
||||
auto name = entry.get("name"sv).to_deprecated_string();
|
||||
auto path = entry.get("path"sv).to_deprecated_string();
|
||||
auto name = entry.get_deprecated("name"sv).to_deprecated_string();
|
||||
auto path = entry.get_deprecated("path"sv).to_deprecated_string();
|
||||
TRY(s_common_locations.try_append({ name, path }));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue