From: Kefu Chai Date: Fri, 21 Jul 2017 13:03:41 +0000 (+0800) Subject: common/config: change the element type of lists to "const char*" X-Git-Tag: v12.1.2~56^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16482%2Fhead;p=ceph.git common/config: change the element type of lists to "const char*" there lists holds constant string literals. and they are not changeable at runtime. so make std::list for smaller memory foot print. Signed-off-by: Kefu Chai --- diff --git a/src/common/options.cc b/src/common/options.cc index 4385f83f52a6..1f268c944d37 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5529,7 +5529,7 @@ static std::vector