]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrMap: let get_active_addrs() return a const ref
authorKefu Chai <kchai@redhat.com>
Sat, 25 Jul 2020 05:02:49 +0000 (13:02 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 27 Jul 2020 03:29:10 +0000 (11:29 +0800)
commit41e26f611ddb3bf59a5d81d99078dda016e60b09
tree2ab9360a8a4ad97e34aaf30fa006cebd44ce4e08
parent1dfe1801724b50d9fef729549459e0f6721d1ad3
mon/MgrMap: let get_active_addrs() return a const ref

no need to create a temporary instance for referencing those addresses.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/MgrMap.h