File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#include < vector>
22#include " wheel_parser/ast/nodes.hxx"
33
4- using std::move;
54using wheel_parser::ast::Node;
65using wheel_parser::ast::StatementNode;
76using wheel_parser::ast::FunctionDeclaration;
@@ -19,9 +18,9 @@ FunctionDeclaration::FunctionDeclaration(const Token *token,
1918 std::vector<SymbolID> func_params,
2019 StatementNode *func_body) noexcept :
2120 StatementNode(NodeKind::FunctionDeclaration, token),
22- func_name(func_name), func_params(move(func_params)), func_body(func_body) {}
21+ func_name(func_name), func_params(std:: move(func_params)), func_body(func_body) {}
2322
2423BlockStatement::BlockStatement (const Token *token,
2524 std::vector<StatementNode*> statements) noexcept :
2625 StatementNode(NodeKind::BlockStatement, token),
27- statements(move(statements)){}
26+ statements(std:: move(statements)){}
You can’t perform that action at this time.
0 commit comments