]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: remove noexcept from function definition
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 21 Apr 2020 11:13:32 +0000 (11:13 +0000)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 21 Apr 2020 11:41:23 +0000 (11:41 +0000)
commit5f0d5fcf465c795c6a94fff3578a373f9daf4b24
tree14ee501028ab8b186e67ca0e154208847ce9d8fc
parent713ef3c7e762ef9a07171570426c6462d3ecf2d6
rgw: remove noexcept from function definition

Clang complains:
src/rgw/rgw_bucket_sync_cache.h:88:3: error: exception specification of explicitly defaulted copy co
nstructor does not match the calculated one
  Handle(const Handle&) noexcept = default;
  ^
1 error generated.

And a reference that I found for this:
    https://github.com/mapnik/mapnik/issues/3274
Suggesting that the noexcept is inherited from the first definition.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/rgw/rgw_bucket_sync_cache.h