]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: s/FuturizedStore*/FuturizedStore&/ in OSDMeta and PGMeta's ctors 42388/head
authorKefu Chai <kchai@redhat.com>
Mon, 19 Jul 2021 01:17:29 +0000 (09:17 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 19 Jul 2021 01:56:28 +0000 (09:56 +0800)
commit425f337a993fde64e36b5f76d4290b29d58a0a87
treebb480c1c3d3ddbf30f76a4afd82ee78113dddf1e
parenteec84bb80c3074f64abe38e01f5ecb807625dc48
crimson/osd: s/FuturizedStore*/FuturizedStore&/ in OSDMeta and PGMeta's ctors

since we always pass a valid store reference to these ctors, there is no
reason to use a pointer. let's use a reference instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc
src/crimson/osd/osd_meta.cc
src/crimson/osd/osd_meta.h
src/crimson/osd/pg.cc
src/crimson/osd/pg_meta.cc
src/crimson/osd/pg_meta.h