]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common/errorator: mark errorator::future 'nodiscard'
authorKefu Chai <kchai@redhat.com>
Wed, 2 Jun 2021 06:15:43 +0000 (14:15 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Jun 2021 06:17:24 +0000 (14:17 +0800)
commitd7b93dc245e030398d741e73463b4d1f164c74be
tree75fe4442504132cf057124586f7f97fba48c3390
parent895f99a62d684b2ae01d3ed1fb34bffab65dce9f
crimson/common/errorator: mark errorator::future 'nodiscard'

so compiler is able to error out if we discard a future.

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