提交 74bd9070 编写于 作者: A Alexey Milovidov

Removed useless code [#CLICKHOUSE-31].

上级 3ddea6b2
......@@ -2357,7 +2357,7 @@ bool FunctionRange::executeInternal(Block & block, const IColumn * const arg, co
IColumn::Offset_t offset{};
for (const auto i : ext::range(0, in->size()))
{
std::copy(boost::counting_iterator(T{}), boost::counting_iterator(in_data[i]), &out_data[offset]);
std::copy(boost::counting_iterator<T>(), boost::counting_iterator<T>(in_data[i]), &out_data[offset]);
offset += in_data[i];
out_offsets[i] = offset;
}
......@@ -2393,7 +2393,7 @@ bool FunctionRange::executeInternal(Block & block, const IColumn * const arg, co
IColumn::Offset_t offset{};
for (const auto i : ext::range(0, in->size()))
{
std::copy(boost::counting_iterator(T{}), boost::counting_iterator(in_data), &out_data[offset]);
std::copy(boost::counting_iterator<T>(), boost::counting_iterator<T>(in_data), &out_data[offset]);
offset += in_data;
out_offsets[i] = offset;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册