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:
parent
cfd710eb31
commit
94088640f1
1 changed files with 2 additions and 2 deletions
|
@ -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"; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue