Merge pull request #65415 from ClickHouse/fix-tidy-build

Fix tidy build
This commit is contained in:
Sergei Trifonov 2024-06-18 23:55:29 +00:00 committed by GitHub
commit ef34ec874a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -406,13 +406,19 @@ private:
void processQueue(std::unique_lock<std::mutex> && lock)
{
if (events.empty())
return processActivation(std::move(lock));
{
processActivation(std::move(lock));
return;
}
if (activations.empty())
return processEvent(std::move(lock));
{
processEvent(std::move(lock));
return;
}
if (activations.front().activation_event_id < events.front().event_id)
return processActivation(std::move(lock));
processActivation(std::move(lock));
else
return processEvent(std::move(lock));
processEvent(std::move(lock));
}
void processActivation(std::unique_lock<std::mutex> && lock)