Fix gcc build.

This commit is contained in:
Nikolai Kochetov 2020-10-21 00:27:01 +03:00
parent 19ccce0305
commit 6177996d5b
3 changed files with 3 additions and 3 deletions

View File

@ -709,7 +709,7 @@ class FunctionBinaryArithmetic : public IFunction
if (lhs_is_const && rhs_is_const)
return ColumnConst::create(std::move(column_to), input_rows_count);
else
return std::move(column_to);
return column_to;
}
ColumnPtr executeDateTimeIntervalPlusMinus(ColumnsWithTypeAndName & arguments, const DataTypePtr & result_type,

View File

@ -1053,7 +1053,7 @@ private:
else
GenericComparisonImpl<Op<int, int>>::vectorVector(*c0, *c1, vec_res);
return std::move(c_res);
return c_res;
}
}

View File

@ -195,7 +195,7 @@ public:
if (null_map_column)
return ColumnNullable::create(std::move(res_column), null_map_column);
else
return std::move(res_column);
return res_column;
}
};