diff --git a/src/Functions/GatherUtils/concat.cpp b/src/Functions/GatherUtils/concat.cpp index c6e802e3961..1329320938d 100644 --- a/src/Functions/GatherUtils/concat.cpp +++ b/src/Functions/GatherUtils/concat.cpp @@ -28,7 +28,7 @@ struct ArrayConcat : public ArraySourceSelector result = ColumnArray::create(source.createValuesColumn()); Sink sink(result->getData(), result->getOffsets(), source.getColumnSize()); - concat(sources, sink); + concat(sources, std::move(sink)); } template @@ -39,7 +39,7 @@ struct ArrayConcat : public ArraySourceSelector result = ColumnArray::create(source.createValuesColumn()); Sink sink(result->getData(), result->getOffsets(), source.getColumnSize()); - concat(sources, sink); + concat(sources, std::move(sink)); } template @@ -50,7 +50,7 @@ struct ArrayConcat : public ArraySourceSelector result = ColumnArray::create(source.createValuesColumn()); Sink sink(result->getData(), result->getOffsets(), source.getColumnSize()); - concat(sources, sink); + concat(sources, std::move(sink)); } };