From c841662ab498a01a01328a715891495f88dacefa Mon Sep 17 00:00:00 2001 From: iTrooz Date: Mon, 27 May 2024 08:34:36 +0200 Subject: [PATCH] fix: Fix gcc warning See https://github.com/p-ranav/argparse/pull/359 --- lib/source/pl/core/preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/source/pl/core/preprocessor.cpp b/lib/source/pl/core/preprocessor.cpp index 84aaf5df..abe3323a 100644 --- a/lib/source/pl/core/preprocessor.cpp +++ b/lib/source/pl/core/preprocessor.cpp @@ -342,7 +342,7 @@ namespace pl::core { m_token++; tokenLiteral = std::get_if(&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);