LibCore: Make Core::Object::property() const

This commit is contained in:
Andreas Kling
2021-01-04 13:41:13 +01:00
parent 370ce42430
commit 6041e48eaa
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ void Object::save_to(JsonObject& json)
}
}
JsonValue Object::property(const StringView& name)
JsonValue Object::property(const StringView& name) const
{
auto it = m_properties.find(name);
if (it == m_properties.end())