]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Make AuthResult::get_completer return rvalue reference
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 10 Apr 2017 17:09:57 +0000 (13:09 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 11 Apr 2017 01:57:14 +0000 (21:57 -0400)
commit5b517ad4cf48270c5cec5506c2cf9cd486ccbdba
treed2bb5b3bdf53defbeb25fc2ee9b9ff2fa282b985
parent568d60631c15dd437e96ad5cb6f8fe5a78d6c9e9
rgw: Make AuthResult::get_completer return rvalue reference

Since we are explicitly moving the completer out of the AuthResult
and allowing the client to have ownership of it, simply return an
rvalue reference rather than moving into a temporary that is itself
returned.

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