]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/common: Add optimizing move
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 28 Feb 2019 17:43:05 +0000 (12:43 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 15 Mar 2019 18:52:47 +0000 (14:52 -0400)
commit3970276cb31ca4042f0f52e0f586a78d7ff62384
tree7da9076057adda56c3aba162bef9f24172357269
parent2c92e6656ab4ef56c365f57325c2a742f55371bb
test/common: Add optimizing move

You have to call std::move to return rvalue reference parameters by
move rather than copy.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/test/common/test_interval_map.cc