From: Kefu Chai Date: Tue, 28 Aug 2018 12:07:22 +0000 (+0800) Subject: auth/AuthMethodList: add std:: before type names X-Git-Tag: v14.0.1~458^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a8b55d034e8f365d679aa022e34bca43feb8d0e3;p=ceph.git auth/AuthMethodList: add std:: before type names we cannot assume 'using namespace std` Signed-off-by: Kefu Chai --- diff --git a/src/auth/AuthMethodList.cc b/src/auth/AuthMethodList.cc index 9ac1520fad96..4caf53481573 100644 --- a/src/auth/AuthMethodList.cc +++ b/src/auth/AuthMethodList.cc @@ -21,9 +21,9 @@ const static int dout_subsys = ceph_subsys_auth; -AuthMethodList::AuthMethodList(CephContext *cct, string str) +AuthMethodList::AuthMethodList(CephContext *cct, std::string str) { - list sup_list; + std::list sup_list; get_str_list(str, sup_list); if (sup_list.empty()) { lderr(cct) << "WARNING: empty auth protocol list" << dendl;