Remove the useless object copy in Parser.hpp.
This commit is contained in:
parent
f308ad9da0
commit
9d36279f95
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue