Skip to content

Commit

Permalink
CPlusPlus: Fix compile before Qt6.5
Browse files Browse the repository at this point in the history
Amends 7475b07.

Change-Id: I59494fe485cdb40b3af089698edc895dc2dd4519
Reviewed-by: David Schulz <david.schulz@qt.io>
  • Loading branch information
Christian Stenger committed Nov 22, 2023
1 parent 0c6f71e commit 27055e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/3rdparty/cplusplus/Lexer.cpp
Expand Up @@ -843,7 +843,7 @@ bool Lexer::scanUntilRawStringLiteralEndPrecise()
while (_yychar) {
slidingWindow.append(_yychar);
if (slidingWindow.size() > _expectedRawStringSuffix.size())
slidingWindow.removeFirst();
slidingWindow.remove(0, 1);
if (slidingWindow == _expectedRawStringSuffix) {
_expectedRawStringSuffix.clear();
yyinp();
Expand Down

0 comments on commit 27055e4

Please sign in to comment.