]> 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>
Wed, 20 Jul 2022 18:30:38 +0000 (14:30 -0400)
commit95c6c2d209a877b934e05e727a181de8c68accd3
treea25c5d46ee798b9bcf6f230d7b2090d3eafb9323
parentc1e9a288b84fe43101b2ee3898d2a85405526623
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/56586
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_sal.h