ClangCodeModel: Fix compiler warning

Change-Id: I68648ffe4ae3aa8bdfdf2706c1a65eb2269eaa1f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Eike Ziller
2022-09-13 11:45:30 +02:00
parent 42121845cb
commit 9d745e0f53

View File

@@ -258,7 +258,7 @@ void doSemanticHighlighting(
};
const std::function<HighlightingResult(const ExpandedSemanticToken &)> toResult
= [&ast, &isOutputParameter, &clangdVersion, &tokenRange]
= [&ast, &isOutputParameter, &tokenRange]
(const ExpandedSemanticToken &token) {
TextStyles styles;
if (token.type == "variable") {