summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore/Object.h')
-rw-r--r--Libraries/LibCore/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/Object.h b/Libraries/LibCore/Object.h
index c7fb49741d..f8e81743c6 100644
--- a/Libraries/LibCore/Object.h
+++ b/Libraries/LibCore/Object.h
@@ -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();