diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-09-15 15:27:32 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-09-15 13:57:32 +0000 |
commit | 242579099a3fd31499e03b945e866e7159f4a1fb (patch) | |
tree | 25a1962b6b5901767a339f0a8103d00400bbdcba /src/plugins/cpptools/cppcodeformatter.h | |
parent | 432247357edfcea96b2f6a66dd17f398e9e55575 (diff) | |
download | qt-creator-242579099a3fd31499e03b945e866e7159f4a1fb.tar.gz |
CppTools: Fix QStringRef and QSharedPointer related issues with Qt6
Task-number: QTCREATORBUG-24098
Change-Id: I97347ac3fb397fea8eee655e3cc4ee252c511885
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.h')
-rw-r--r-- | src/plugins/cpptools/cppcodeformatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h index cf3eab98cb..1164c12eb1 100644 --- a/src/plugins/cpptools/cppcodeformatter.h +++ b/src/plugins/cpptools/cppcodeformatter.h @@ -216,7 +216,7 @@ private: void saveCurrentState(const QTextBlock &block); void restoreCurrentState(const QTextBlock &block); - QStringRef currentTokenText() const; + QStringView currentTokenText() const; int tokenizeBlock(const QTextBlock &block, bool *endedJoined = nullptr); |