]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg_shard_manager: remove the unnecessary "std::move" call 58029/head
authorXuehan Xu <xuxuehan@qianxin.com>
Fri, 24 May 2024 09:35:47 +0000 (17:35 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 13 Jun 2024 12:42:08 +0000 (15:42 +0300)
commit072e659bbf8cfaa03a8d48df7d084d96ad50dc68
tree14683ffc7e739469bebad32add284a73f8b2aad6
parent8068d81b8f8cb8f0568309051bfd549537347a30
crimson/osd/pg_shard_manager: remove the unnecessary "std::move" call

Fixing the following compilation issue:
/home/xuxuehan/src/ceph/src/crimson/osd/pg_shard_manager.h:236:7: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
  236 |       );
      |       ^
/home/xuxuehan/src/ceph/src/crimson/osd/pg_shard_manager.h:236:7: note: remove ‘std::move’ call

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit 3d77b5c7e2ed95d424cdc9b97f9b41cea1a2648a)
src/crimson/osd/pg_shard_manager.h