diff --git a/Libraries/LibJS/AST.h b/Libraries/LibJS/AST.h index 8578a8530e..575e501139 100644 --- a/Libraries/LibJS/AST.h +++ b/Libraries/LibJS/AST.h @@ -56,7 +56,7 @@ public: class ErrorStatement final : public Statement { public: - Value execute(Interpreter&) const { return js_undefined(); } + Value execute(Interpreter&) const override { return js_undefined(); } const char* class_name() const override { return "ErrorStatement"; } }; @@ -147,7 +147,7 @@ public: class ErrorExpression final : public Expression { public: - Value execute(Interpreter&) const { return js_undefined(); } + Value execute(Interpreter&) const override { return js_undefined(); } const char* class_name() const override { return "ErrorExpression"; } };