From 5d8e53038eb13f03d75774d09867a45ffecd0018 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 6 Jul 2022 13:57:26 +0200 Subject: [PATCH] ClangCodeModel: Fix "Find References" for operators We broke this in 49bb40f19e71ab92f3318b29c2e929bdfb418178. Change-Id: Ifc18501745c4515899c57ea461305db0f9ed6662 Reviewed-by: Reviewed-by: David Schulz --- src/plugins/clangcodemodel/clangdclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())