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
Notes: sideshowbarker 2024-07-18 11:23:54 +09:00

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;