]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: refactor RefCountedObj and reduce header dependencies
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 13 Aug 2019 17:21:25 +0000 (10:21 -0700)
committerKefu Chai <tchaikov@gmail.com>
Mon, 16 Sep 2019 11:52:36 +0000 (19:52 +0800)
commit58d1b88ec5918515a502a9d3f7dec34b04feb50a
tree54e68f116d068ece42992bef2ae21e6011a4f0b5
parent489b30844e86dab102f768796251783b6e4a5f8f
common: refactor RefCountedObj and reduce header dependencies

- Protect constructors/destructors; RefCountedObj is an abstract class.

- Move some helpers to separate unit to avoid circular dependency with
  CephContext which could otherwise use RefCountedObj.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/CMakeLists.txt
src/common/RefCountedObj.cc [new file with mode: 0644]
src/common/RefCountedObj.h
src/crimson/CMakeLists.txt