]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: use operator=(...) instead of claim() 35935/head
authorKefu Chai <kchai@redhat.com>
Sun, 5 Jul 2020 13:48:19 +0000 (21:48 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 5 Jul 2020 13:48:20 +0000 (21:48 +0800)
commita23a1929f558d57a03dfeae78a7f1a8cccc9da60
tree521eddb628702edb6be52d58adf1164b23905ed9
parent664a8dab9f8bdb2967e7f8fdbef3e3f1f899fc53
crimson/osd: use operator=(...) instead of claim()

to silence warnings like

objclass.cc:300:26: warning: 'void ceph::buffer::v15_2_0::list::claim(ceph::buffer::v15_2_0::list&)' is deprecated: in favor of operator=(list&&) [-Wdeprecated-declarations]
  300 |   outbl->claim(op.outdata);
      |                          ^

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