From: Kefu Chai Date: Mon, 5 Jul 2021 15:27:27 +0000 (+0800) Subject: crimson/common/errorator: forward declare futurize as a struct X-Git-Tag: v17.1.0~1474^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42187%2Fhead;p=ceph.git 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 --- diff --git a/src/crimson/common/errorator.h b/src/crimson/common/errorator.h index 8a821d17b2c1..4ee7025e8351 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);