forked from qt-creator/qt-creator
CppTools: Fix QStringRef and QSharedPointer related issues with Qt6
Task-number: QTCREATORBUG-24098 Change-Id: I97347ac3fb397fea8eee655e3cc4ee252c511885 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -54,7 +54,7 @@ static bool shouldOverrideChar(QChar ch)
|
||||
|
||||
static bool isCompleteStringLiteral(const BackwardsScanner &tk, int index)
|
||||
{
|
||||
const QStringRef text = tk.textRef(index);
|
||||
const QStringView text = tk.textRef(index);
|
||||
|
||||
if (text.length() < 2)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user