Skip to content

Commit

Permalink
Forgot to move
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkoGNU committed Jan 12, 2022
1 parent 86d4eca commit 9c17ca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Interpreter/Interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "Writer.hpp"

Interpreter::Interpreter(const int argc, char const *const argv[])
: params(), status(params.readParams(argc, argv)),
: status(params.readParams(argc, argv)),
tilemap(params.getSize()), turtle(tilemap) {}

bool Interpreter::bad() const { return !status; }
Expand Down
3 changes: 2 additions & 1 deletion Interpreter/Parser/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#include "DeepLexer.hpp"
#include "SimpleLexer.hpp"

Parser::Parser(std::filesystem::path inputPath) : inputPath(inputPath) {}
Parser::Parser(std::filesystem::path inputPath)
: inputPath(std::move(inputPath)) {}

std::vector<std::vector<Cmd>> Parser::getCode() const { return code; }

Expand Down

0 comments on commit 9c17ca7

Please sign in to comment.