(typename Iterator::reference x) mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action),
+ action,
std::forward<decltype(*begin)>(x)).to_future();
})
);
(typename Iterator::reference x) mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action),
+ action,
std::forward<decltype(*begin)>(x)).to_future();
})
);
(typename Iterator::reference x) mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action),
+ action,
std::forward<decltype(*begin)>(x));
})
);
(typename Iterator::reference x) mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action),
+ action,
std::forward<decltype(*begin)>(x));
})
);
return make_interruptible(
::seastar::repeat(
[action=std::move(action),
- interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond] {
+ interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond]() mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action)).to_future();
+ action).to_future();
})
);
} else {
interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond]() mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action)).to_future();
+ action).to_future();
})
);
}
return make_interruptible(
::seastar::repeat(
[action=std::move(action),
- interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond] {
+ interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond]() mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action));
+ action);
})
);
} else {
return make_interruptible(
::crimson::repeat(
[action=std::move(action),
- interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond] {
+ interrupt_condition=interrupt_cond<InterruptCond>.interrupt_cond]() mutable {
return call_with_interruption(
interrupt_condition,
- std::move(action));
+ action);
})
);
}