From 6654d63393c3f6a975c7a8f95e5bd200062c5129 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 19 Jun 2021 19:13:17 +0800 Subject: [PATCH] crimson/common: specialize errorator<> for future<> otherwise it always needs a return value. Signed-off-by: Kefu Chai --- src/crimson/common/errorator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crimson/common/errorator.h b/src/crimson/common/errorator.h index 258124b509455..4a0f56a87d9bf 100644 --- a/src/crimson/common/errorator.h +++ b/src/crimson/common/errorator.h @@ -1065,8 +1065,8 @@ private: template <> class errorator<> { public: - template - using future = ::seastar::future; + template + using future = ::seastar::futurize_t; template using futurize = ::seastar::futurize; -- 2.39.5