LibJS: Remove superfluous explicit in AST.h (#1395)

This commit is contained in:
howar6hill 2020-03-09 21:37:08 +08:00 committed by GitHub
parent 28731179b1
commit 11aac6fdce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-19 17:36:52 +09:00

View file

@ -129,7 +129,7 @@ private:
class IfStatement : public ASTNode {
public:
explicit IfStatement(NonnullOwnPtr<Expression> predicate, NonnullOwnPtr<ScopeNode> consequent, NonnullOwnPtr<ScopeNode> alternate)
IfStatement(NonnullOwnPtr<Expression> predicate, NonnullOwnPtr<ScopeNode> consequent, NonnullOwnPtr<ScopeNode> alternate)
: m_predicate(move(predicate))
, m_consequent(move(consequent))
, m_alternate(move(alternate))