]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/config: accept initialize_list when adding option properties
authorKefu Chai <kchai@redhat.com>
Fri, 21 Jul 2017 13:01:08 +0000 (21:01 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 26 Jul 2017 16:07:38 +0000 (00:07 +0800)
commit26941ea40cccfcb5a0b544f7d3971b551e463362
treea0abc7ede3749de4fb6f5a3cd7f44c550fc2d12e
parentda4286ee0ed4f06910069fe158fd799fe6047b7d
common/config: accept initialize_list when adding option properties

it's syntax sugar, but more handly this way. and it helps to reduce
memory foot print.

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