mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
Merge pull request #34661 from wjwithagen/wjw-fix-rgw_bucket_sync_cache.h
rgw: remove noexcept from function definition Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
20a1accd54
@ -84,8 +84,8 @@ class Handle {
|
||||
Handle(boost::intrusive_ptr<Cache> cache,
|
||||
boost::intrusive_ptr<Entry> entry) noexcept
|
||||
: cache(std::move(cache)), entry(std::move(entry)) {}
|
||||
Handle(Handle&&) noexcept = default;
|
||||
Handle(const Handle&) noexcept = default;
|
||||
Handle(Handle&&) = default;
|
||||
Handle(const Handle&) = default;
|
||||
Handle& operator=(Handle&& o) noexcept {
|
||||
// move the entry first so that its cache stays referenced over destruction
|
||||
entry = std::move(o.entry);
|
||||
|
Loading…
Reference in New Issue
Block a user