]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/config_values: use string_view for keys 27097/head
authorKefu Chai <kchai@redhat.com>
Fri, 22 Mar 2019 03:57:02 +0000 (11:57 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Mar 2019 05:03:38 +0000 (13:03 +0800)
commit8e4686226c5207d5b2d612d95925a51cb08acd1e
tree8022002f75000750ec51c8f2b127a16c01b2fc9b
parent4bf87b4f4dd51561c23206c5f4a076d05286c037
common/config_values: use string_view for keys

the contained char sequences are either static char strings or strings
in `Option` instances. so no need to keep another copy of string around.

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