mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +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
|
@ -51,7 +51,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
Vector<DeprecatedString> interfaces_with_dhcp_enabled;
|
||||
proc_net_adapters_json.as_array().for_each([&](auto& value) {
|
||||
auto& if_object = value.as_object();
|
||||
auto ifname = if_object.get("name"sv).to_deprecated_string();
|
||||
auto ifname = if_object.get_deprecated("name"sv).to_deprecated_string();
|
||||
|
||||
if (ifname == "loop"sv)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue