1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibJS: Specify overridden functions with 'override'

This commit is contained in:
0xtechnobabble 2020-03-15 23:33:38 +02:00 committed by Andreas Kling
parent cfd710eb31
commit 94088640f1

View file

@ -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"; }
};