]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: use ref_t<M>
authorKefu Chai <kchai@redhat.com>
Mon, 15 Apr 2019 06:01:00 +0000 (14:01 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Apr 2019 22:59:42 +0000 (06:59 +0800)
commita075639ce746fe12cde1a3df8ad7b13c3fd9baf6
treea563b9471b63014e7a5c9a59ba12c962b8c3b12a
parent7ff69fe351b3697ea26556f05eee8a1720d9d414
mgr/DaemonServer: use ref_t<M>

to avoid explicit use of RefCountedObj interface. and let
intrusive_ptr<> to take care of the life cycle of messages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/messages/MMgrOpen.h
src/messages/MMgrReport.h
src/mgr/ClusterState.cc
src/mgr/ClusterState.h
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h