fix build

This commit is contained in:
Nikolai Kochetov 2018-03-19 21:09:13 +03:00
parent 667d505898
commit 28d99eb964

View File

@ -386,9 +386,9 @@ void ColumnNullable::getExtremes(Field & min, Field & max) const
MutableColumnPtr ColumnNullable::replicate(const Offsets & offsets) const
{
ColumnPtr replicated_data = getNestedColumn().replicate(offsets);
ColumnPtr replicated_null_map = getNullMapColumn().replicate(offsets);
return ColumnNullable::create(replicated_data, replicated_null_map);
MutableColumnPtr replicated_data = getNestedColumn().replicate(offsets);
MutableColumnPtr replicated_null_map = getNullMapColumn().replicate(offsets);
return ColumnNullable::create(std::move(replicated_data), std::move(replicated_null_map));
}