cache: fix pessimizing moves
Remove pessimizing moves, as reported by gcc 9.
This commit is contained in:
@@ -325,7 +325,7 @@ make_partition_snapshot_flat_reader(schema_ptr s,
|
||||
if (fwd) {
|
||||
return make_forwardable(std::move(res)); // FIXME: optimize
|
||||
} else {
|
||||
return std::move(res);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user