mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
NetworkSettings: Replace uses of JsonObject::get_deprecated()/get_ptr()
This commit is contained in:
parent
3a48009022
commit
ecbe317413
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ NetworkSettingsWidget::NetworkSettingsWidget()
|
|||
size_t index = 0;
|
||||
proc_net_adapters_json.as_array().for_each([&](auto& value) {
|
||||
auto& if_object = value.as_object();
|
||||
auto adapter_name = if_object.get_deprecated("name"sv).to_deprecated_string();
|
||||
auto adapter_name = if_object.get_deprecated_string("name"sv).value();
|
||||
if (adapter_name == "loop")
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue