diff --git a/dbms/src/Columns/ColumnNullable.cpp b/dbms/src/Columns/ColumnNullable.cpp index 7a3a0e78b77..7ab5168d092 100644 --- a/dbms/src/Columns/ColumnNullable.cpp +++ b/dbms/src/Columns/ColumnNullable.cpp @@ -434,7 +434,7 @@ void ColumnNullable::checkConsistency() const MutableColumnPtr makeNullable(MutableColumnPtr && column) { if (column->isColumnNullable()) - return column; + return std::move(column); if (column->isColumnConst()) return ColumnConst::create(makeNullable(static_cast(*column).getDataColumnPtr()->assumeMutable())