]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: std::move func in pg::with_*_obc().
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 29 Mar 2021 16:21:14 +0000 (16:21 +0000)
committerKefu Chai <kchai@redhat.com>
Fri, 2 Apr 2021 07:26:42 +0000 (15:26 +0800)
commit0e731e6c082d3996dc4b78a8cfa06cd0b2b57afa
tree2badd74cbd88e5159400e8bacc3b3a1c8d8b5d2a
parent62f00e45b81c82b73e03b8af912244d85b0ebab3
crimson/osd: std::move func in pg::with_*_obc().

Well, likely all the commit does is just appending a couple
of extra bytes. Though, strictly juding, a func should be
`std::move()`d before calling in those cases. Otherwise we
can miss e.g. the `operator() &&` overload.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/pg.cc