]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/Graylog: consolidate ctors
authorKefu Chai <kchai@redhat.com>
Mon, 5 Jul 2021 04:14:21 +0000 (12:14 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 5 Jul 2021 04:17:49 +0000 (12:17 +0800)
commit59fe88baf20651a2c0c0ab8818702e81ff2e0633
tree4f3d048833e4ee0706f028caeef70f50258bb954
parentbaae90bd1325f783a6ff9d6d8177192be4c46320
common/Graylog: consolidate ctors

* initialize member variables in-class
* use delegate ctor to dedup the logic in two ctors.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/Graylog.cc
src/common/Graylog.h