]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common: more friendly to seastar::do_with()
authorKefu Chai <kchai@redhat.com>
Tue, 11 Feb 2020 09:57:42 +0000 (17:57 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 11 Feb 2020 10:20:54 +0000 (18:20 +0800)
commit470d2e28fc2c5f045c50de0d35c76e25f55bdd77
tree9a6ce15614b70dafb96207cf56570f10d53e5993
parentccb8d61ff39caf8b6b8f9579c0abdcc7d09a5c64
crimson/common: more friendly to seastar::do_with()

so we don't need to do the box-unbox dance when callng
seastar::do_with() with multiple with'ed variables and
a continuation which returns `errator<...>::future`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/errorator.h