summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorLeon Albrecht <37629766+Hendiadyoin1@users.noreply.github.com>2021-06-28 19:25:35 +0200
committerGitHub <noreply@github.com>2021-06-28 19:25:35 +0200
commit57b7f4ec5b0afd0035e9eaec0141f9d8a865965b (patch)
tree06825c68566d3afa3de1b2fac9021c4620406741 /Userland/Libraries
parent30f531a55fbe9b928fad4a2722374a3736a9128a (diff)
downloadserenity-57b7f4ec5b0afd0035e9eaec0141f9d8a865965b.zip
LibJS: Mark FunctionObject::is_ordinary_function() as override
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.h b/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.h
index 42929c3135..dfdf96cb42 100644
--- a/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.h
+++ b/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.h
@@ -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;