summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhowar6hill <f.eiwu@yahoo.com>2020-03-09 21:37:08 +0800
committerGitHub <noreply@github.com>2020-03-09 14:37:08 +0100
commit11aac6fdceb9a3904ad3eb51d887c63a6dc91b74 (patch)
treebf77777f45ee31412d11a8f8132ae90da2a372ba
parent28731179b152ffb9c8017db2396bf537563dc8de (diff)
downloadserenity-11aac6fdceb9a3904ad3eb51d887c63a6dc91b74.zip
LibJS: Remove superfluous explicit in AST.h (#1395)
-rw-r--r--Libraries/LibJS/AST.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/AST.h b/Libraries/LibJS/AST.h
index b6a4d85560..a5ce6571cc 100644
--- a/Libraries/LibJS/AST.h
+++ b/Libraries/LibJS/AST.h
@@ -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))