]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fix `rgw::sal::Bucket::empty` static method signatures
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 11 Jul 2022 15:52:09 +0000 (11:52 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 22 Aug 2022 16:23:21 +0000 (12:23 -0400)
commit7b4aa5989029d7335870359cf93bdba4e514f3ab
treebcc4ff7b9bc649842efc1692256a306c949fd013
parent90187146adcb22e77e917042660ac5c0a2a10809
rgw: Fix `rgw::sal::Bucket::empty` static method signatures

`unique_ptr` overload should take by reference.

Both should be const.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit b1d3e6c00674ebf6bde08968789a426d65db73d9)

Conflicts:
src/rgw/rgw_sal.h
 - `unique_ptr` overload of empty

Fixes: https://tracker.ceph.com/issues/56585
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit e40ce4a3511e669e761da5f39d81b14e6cdbdeba)
Resolves: rhbz#118423
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_sal.h