diff options
Diffstat (limited to 'src/plugins/cpptools/cpptoolsreuse.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsreuse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpptoolsreuse.h b/src/plugins/cpptools/cpptoolsreuse.h index afab4a4684..00472979b0 100644 --- a/src/plugins/cpptools/cpptoolsreuse.h +++ b/src/plugins/cpptools/cpptoolsreuse.h @@ -52,7 +52,7 @@ namespace CppTools { void CPPTOOLS_EXPORT moveCursorToEndOfIdentifier(QTextCursor *tc); void CPPTOOLS_EXPORT moveCursorToStartOfIdentifier(QTextCursor *tc); -bool CPPTOOLS_EXPORT isQtKeyword(const QStringRef &text); +bool CPPTOOLS_EXPORT isQtKeyword(QStringView text); bool CPPTOOLS_EXPORT isValidAsciiIdentifierChar(const QChar &ch); bool CPPTOOLS_EXPORT isValidFirstIdentifierChar(const QChar &ch); |