Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Try fix codacy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Gashmob committed Jul 19, 2023
1 parent 437c681 commit 10b83af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/lib/grammar/Lexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ namespace filc::grammar {
auto Lexer::getTokens() -> antlr4::CommonTokenStream * {
return _tokens;
}

Lexer::Lexer(Lexer &other)
: _tokens(other._tokens) {}
}
2 changes: 1 addition & 1 deletion src/lib/grammar/Lexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace filc::grammar {
public:
explicit Lexer(const std::string &filename);

Lexer(Lexer &other) = default;
Lexer(Lexer &other);

auto getTokens() -> antlr4::CommonTokenStream *;

Expand Down

0 comments on commit 10b83af

Please sign in to comment.