Skip to content

Commit ce626f3

Browse files
committed
fix
1 parent f09192a commit ce626f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iceberg/expression/literal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Literal Literal::Fixed(std::vector<uint8_t> value, int32_t length) {
156156

157157
Result<Literal> Literal::Deserialize(std::span<const uint8_t> data,
158158
std::shared_ptr<PrimitiveType> type) {
159-
return Conversions::FromBytes(type, data);
159+
return Conversions::FromBytes(std::move(type), data);
160160
}
161161

162162
Result<std::vector<uint8_t>> Literal::Serialize() const {

0 commit comments

Comments
 (0)