1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:38:12 +00:00

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

@ -120,7 +120,7 @@ public:
void save_to(AK::JsonObject&);
bool set_property(const StringView& name, const JsonValue& value);
JsonValue property(const StringView& name);
JsonValue property(const StringView& name) const;
const HashMap<String, NonnullOwnPtr<Property>>& properties() const { return m_properties; }
static IntrusiveList<Object, &Object::m_all_objects_list_node>& all_objects();