mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
@@ -35,7 +35,7 @@ NonnullOwnPtr<ProjectConfig> ProjectConfig::create_empty()
|
||||
|
||||
Optional<DeprecatedString> ProjectConfig::read_key(DeprecatedString key_name) const
|
||||
{
|
||||
auto const& value = m_config.get(key_name);
|
||||
auto const& value = m_config.get_deprecated(key_name);
|
||||
if (!value.is_string())
|
||||
return {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user