diff --git a/src/plugins/clangcodemodel/clangdclient.cpp b/src/plugins/clangcodemodel/clangdclient.cpp index 6dd7226b951..6699242283e 100644 --- a/src/plugins/clangcodemodel/clangdclient.cpp +++ b/src/plugins/clangcodemodel/clangdclient.cpp @@ -1021,7 +1021,7 @@ void ClangdClient::findUsages(TextDocument *document, const QTextCursor &cursor, // Otherwise get the proper spelling of the search term from clang, so we can put it into the // search widget. const auto symbolInfoHandler = [this, doc = QPointer(document), adjustedCursor, replacement, categorize] - (const QString &, const QString &name, const MessageId &) { + (const QString &name, const QString &, const MessageId &) { if (!doc) return; if (name.isEmpty())