It's necessary since
710a1bfdc02202fe9e59df8ea31de5b82b893fb4
in Seastar.
This change is a part of ongoing upgrade of Seastar which will
be completed in a follow-up PR, after merging another change
with the Seastar's upstream.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
_incomplete.pop_back();
}
if (!_incomplete.empty()) {
- seastar::internal::set_callback(_incomplete.back(), static_cast<continuation_base<>*>(this));
+ seastar::internal::set_callback(std::move(_incomplete.back()),
+ static_cast<continuation_base<>*>(this));
_incomplete.pop_back();
return;
}
_incomplete.pop_back();
}
if (!_incomplete.empty()) {
- seastar::internal::set_callback(_incomplete.back(), static_cast<continuation_base<>*>(this));
+ seastar::internal::set_callback(std::move(_incomplete.back()),
+ static_cast<continuation_base<>*>(this));
_incomplete.pop_back();
return;
}