]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg: Remove pessimizing move
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 10 Apr 2017 17:02:43 +0000 (13:02 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 11 Apr 2017 01:57:14 +0000 (21:57 -0400)
commit568d60631c15dd437e96ad5cb6f8fe5a78d6c9e9
treeeb7c6ad3884fb2ab1ad5a5b39b8510a4bf53d1b7
parent7d344d137a8e21fa8835329d9f5f37a8f6593127
msg: Remove pessimizing move

Do not std::move the result of a function returning a value.

(Once could reasonably std::move the result of a function returning an
lvalue reference, but *not* that of one returning a value.)

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/msg/async/rdma/RDMAStack.cc