auto& is just confusing, as `seastar::do_with()` pass the captureud
variables using `std::foward`. so these variable would be of the same
types as how they are passed to `do_with()`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
recovery_info.version,
PushOp(),
[this, &recovery_info, &progress, stat]
- (auto& new_progress, auto& available, auto& v, auto& pop) {
+ (auto new_progress, auto available, auto v, auto pop) {
return read_metadata_for_push_op(recovery_info.soid,
progress, new_progress,
v, &pop).then([&](eversion_t local_ver) mutable {