1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibJS: Mark FunctionObject::is_ordinary_function() as override

This commit is contained in:
Leon Albrecht 2021-06-28 19:25:35 +02:00 committed by GitHub
parent 30f531a55f
commit 57b7f4ec5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ protected:
virtual bool is_strict_mode() const final { return m_is_strict; }
private:
virtual bool is_ordinary_function_object() const { return true; }
virtual bool is_ordinary_function_object() const override { return true; }
virtual FunctionEnvironmentRecord* create_environment_record(FunctionObject&) override;
virtual void visit_edges(Visitor&) override;