]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: stateful_error_t allows for void-taking handlers.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 19 Mar 2021 08:31:33 +0000 (08:31 +0000)
committerKefu Chai <kchai@redhat.com>
Fri, 2 Apr 2021 07:29:58 +0000 (15:29 +0800)
commit15bea958832a7dcfa6ac5a7f0fe1bfcf1a86b16a
tree9a076146af4244ca7735d65254ea0bf9d590b2aa
parent5c78bebca172cbe27114750fa2db4a28870d55d9
crimson/common: stateful_error_t allows for void-taking handlers.

Before this commit there was an inconsistencty between
`unthrowable_wrapper::handle()` and `stateful_error_t::handle()`
in the regard of parameters the provided handler had to accept.
The former was fine with void-taking handlers while the latter
was not.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/common/errorator.h