]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWContinuousLeaseCR takes arguments by value and moves them
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 11 Aug 2022 21:53:44 +0000 (17:53 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 11 Jan 2023 06:26:29 +0000 (01:26 -0500)
commit2b3fbcf9b1e1ca4476610648d600d2dd79aa1b0d
treeeb98b9218bfc90b44e032f38504185ab698ef00f
parent77deaa9b0278e5f582385746c4e6bbc0417af4e0
rgw: RGWContinuousLeaseCR takes arguments by value and moves them

Since we were taking them by reference and copying before, this is
strictly better. Callers that give us an RValue can skip the copy.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/driver/rados/rgw_cr_rados.h