This is needed as newer versions of the framework have
the `seastar::apply` compatibility layer stripped.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
[[gnu::always_inline]]
static inline type apply(Func&& func, std::tuple<FuncArgs...>&& args) noexcept {
try {
- return ::seastar::apply(std::forward<Func>(func),
- std::forward<std::tuple<FuncArgs...>>(args));
+ return std::apply(std::forward<Func>(func),
+ std::forward<std::tuple<FuncArgs...>>(args));
} catch (...) {
return make_exception_future(std::current_exception());
}