forked from qt-creator/qt-creator
		
	CppTool: Avoid a use of QStringRef
Change-Id: I2a82bad7d91e059915526f0cf7b89f0d8367463a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
		| @@ -123,7 +123,7 @@ CppTools::CheckSymbols *createHighlighter(const CPlusPlus::Document::Ptr &doc, | ||||
|         const QString name = macro.macro().nameToQString(); | ||||
|  | ||||
|         //Filter out QtKeywords | ||||
|         if (features.qtKeywordsEnabled && isQtKeyword(QStringRef(&name))) | ||||
|         if (features.qtKeywordsEnabled && isQtKeyword(name)) | ||||
|             continue; | ||||
|  | ||||
|         SimpleLexer tokenize; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user