aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2023-11-22 06:39:16 +0100
committerChristian Stenger <christian.stenger@qt.io>2023-11-22 05:49:46 +0000
commit27055e4c3904b09385c96a2ac336aef87f3a4f8e (patch)
tree68b38aa3ac9fad484c45990727d4aed0c88a276a
parent0c6f71ef20df86c4b715139f9c0b79ad4486da65 (diff)
CPlusPlus: Fix compile before Qt6.5v12.0.0
Amends 7475b073fb8084cf1304cea8a1781e74204a0a11. Change-Id: I59494fe485cdb40b3af089698edc895dc2dd4519 Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--src/libs/3rdparty/cplusplus/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/3rdparty/cplusplus/Lexer.cpp b/src/libs/3rdparty/cplusplus/Lexer.cpp
index 62a95f455a..92cfc5d6ec 100644
--- a/src/libs/3rdparty/cplusplus/Lexer.cpp
+++ b/src/libs/3rdparty/cplusplus/Lexer.cpp
@@ -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();