]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/osd: use unique_ptr for backend trasaction, move into submit_transaction
authorSamuel Just <sjust@redhat.com>
Mon, 16 Nov 2015 18:06:45 +0000 (10:06 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 25 Feb 2016 18:56:41 +0000 (10:56 -0800)
commit0a5b4c1d9307bd55cff03b9158587af034d9e621
tree7eb49e55c08fd349cc2b96c31e2399aecf60cba6
parent612fd3341a5a606bdffb596c051765c2372d7cf4
src/osd: use unique_ptr for backend trasaction, move into submit_transaction

submit_transaction takes ownership of the transaction implicitely.  Make
this implicit using an rvalue ref to force usage of std::move and move
constructor.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ECBackend.cc
src/osd/ECBackend.h
src/osd/PGBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h