]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: remove redundant std::move() 35207/head
authorKefu Chai <kchai@redhat.com>
Sat, 23 May 2020 08:26:42 +0000 (16:26 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 23 May 2020 08:27:49 +0000 (16:27 +0800)
commitb3abff205a128e76f7e3b17c55ea99e5eeb1f816
treeb8769890be6d3a101441b4636e96099aefc9623d
parentcafb5e01aa42bc4904a7d169ddc50e19e72f44c2
crimson/osd: remove redundant std::move()

this should address following warning:

../src/crimson/osd/ops_executer.cc:821:6:   required from here
../src/crimson/osd/ops_executer.cc:818:37: warning: redundant move in return statement [-Wredundant-move]
  818 |             return std::move(entries);
      |                                     ^
../src/crimson/osd/ops_executer.cc:818:37: note: remove ‘std::move’ call

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/ops_executer.cc