Remove the useless object copy in Parser.hpp.

This commit is contained in:
Username404 2021-07-03 22:59:03 +02:00
parent f308ad9da0
commit 9d36279f95
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
namespace Parser {
ParseTree parseVector(const vector<tok>& lexed) {
ParseTree parseTree = ParseTree();
ParseTree parseTree;
using namespace StandardComponents::types;
for (unsigned int i = 0; i < lexed.size(); ++i) {
const auto& current = lexed[i];