Skip to content

Commit

Permalink
fix: Fix gcc warning (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz authored May 27, 2024
1 parent 850e296 commit ca7608e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/source/pl/core/preprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ namespace pl::core {
m_token++;
tokenLiteral = std::get_if<Token::Literal>(&m_token->value);
if (tokenLiteral != nullptr && m_token->location.line == line) {
message += " " + tokenLiteral->toString(false);
message += std::string(" ") + tokenLiteral->toString(false);
m_token++;
}
error(message);
Expand Down

0 comments on commit ca7608e

Please sign in to comment.