small opt

This commit is contained in:
Nikita Taranov 2024-08-08 15:00:34 +01:00
parent 01179a1eb4
commit 7f69df63fd

View File

@ -1,5 +1,6 @@
#pragma once
#include <algorithm>
#include <deque>
#include <memory>
#include <optional>
@ -205,6 +206,10 @@ public:
void filterBySelector()
{
chassert(block);
if (!wasScattered())
return;
auto columns = block.getColumns();
for (auto & col : columns)
{