From: Kefu Chai Date: Sat, 19 Jun 2021 11:13:17 +0000 (+0800) Subject: crimson/common: specialize errorator<> for future<> X-Git-Tag: v17.1.0~1595^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F41941%2Fhead;p=ceph.git crimson/common: specialize errorator<> for future<> otherwise it always needs a return value. Signed-off-by: Kefu Chai --- 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;