From 568e25889b53d39cce30592a6f23b2446d69498c Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Thu, 3 Oct 2024 18:51:19 +0200 Subject: [PATCH] style check --- src/Interpreters/CancellationChecker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Interpreters/CancellationChecker.cpp b/src/Interpreters/CancellationChecker.cpp index e5b311ed45c..651efa73584 100644 --- a/src/Interpreters/CancellationChecker.cpp +++ b/src/Interpreters/CancellationChecker.cpp @@ -48,7 +48,8 @@ void CancellationChecker::cancelTask(std::shared_ptr query, CancelR bool CancellationChecker::removeQueryFromSet(std::shared_ptr query) { - auto it = std::find_if(querySet.begin(), querySet.end(), [&](const QueryToTrack& task) { + auto it = std::find_if(querySet.begin(), querySet.end(), [&](const QueryToTrack& task) + { return task.query == query; });