From 285a05d6ea5409aa16848bc18ab6419cb82f3c6a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 9 Sep 2020 20:59:30 +0800 Subject: [PATCH] crimson/common: s/result_of/invoke_result/ std::result_of is deprecated in C++17, and removed in C++20, so let's use std::invoke_result instead Signed-off-by: Kefu Chai --- src/crimson/common/errorator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/common/errorator.h b/src/crimson/common/errorator.h index 306c3cc6d0a..450227d7806 100644 --- a/src/crimson/common/errorator.h +++ b/src/crimson/common/errorator.h @@ -15,7 +15,7 @@ namespace crimson { template inline auto do_for_each(Iterator begin, Iterator end, AsyncAction action) { using futurator = \ - ::seastar::futurize>; + ::seastar::futurize>; if (begin == end) { return futurator::type::errorator_type::template make_ready_future<>(); -- 2.39.5