1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

LibJS: Make Object::invoke() non-const

As suggested in #2431's code review.
This commit is contained in:
Linus Groh 2020-05-29 12:20:14 +01:00 committed by Andreas Kling
parent 1dd44210b7
commit 688ca7b196
2 changed files with 4 additions and 4 deletions

View file

@ -108,7 +108,7 @@ public:
IndexedProperties& indexed_properties() { return m_indexed_properties; }
void set_indexed_property_elements(Vector<Value>&& values) { m_indexed_properties = IndexedProperties(move(values)); }
Value invoke(const FlyString& property_name, Optional<MarkedValueList> arguments = {}) const;
Value invoke(const FlyString& property_name, Optional<MarkedValueList> arguments = {});
private:
virtual Value get_by_index(u32 property_index) const;