mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 11:00:35 +00:00
These redundant `std::move()` calls were identified by GCC-14. In general, copy elision applies to these places, so adding `std::move()` is not only unnecessary but can actually prevent the compiler from performing copy elision, as it causes the return statement to fail to satisfy the requirements for copy elision optimization. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#23063