diff --git a/src/storage/v3/shard_rsm.cpp b/src/storage/v3/shard_rsm.cpp index 5bb925fa8..ac6e7ae66 100644 --- a/src/storage/v3/shard_rsm.cpp +++ b/src/storage/v3/shard_rsm.cpp @@ -563,7 +563,7 @@ msgs::ReadResponses ShardRsm::HandleRead(msgs::ExpandOneRequest &&req) { break; } - results.emplace_back(maybe_result.value()); + results.emplace_back(std::move(maybe_result.value())); if (batch_limit.has_value() && results.size() >= batch_limit.value()) { break; }