From 0ad4bd63c562b5cb64278943825eb45401d75d1d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 5 Jul 2021 23:27:27 +0800 Subject: [PATCH] crimson/common/errorator: forward declare futurize as a struct as it is defined as struct, otherwise clang complains on this inconsistency. 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 8a821d17b2c..4ee7025e835 100644 --- a/src/crimson/common/errorator.h +++ b/src/crimson/common/errorator.h @@ -372,7 +372,7 @@ private: // any `seastar::futurize` specialization must be able to access the base. // see : `satisfy_with_result_of()` far below. template - friend class seastar::futurize; + friend struct seastar::futurize; template friend auto seastar::internal::do_with_impl(T1&& rv1, T2&& rv2, More&&... more); -- 2.39.5