]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
auth/AuthMethodList: add std:: before type names
authorKefu Chai <kchai@redhat.com>
Tue, 28 Aug 2018 12:07:22 +0000 (20:07 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 29 Aug 2018 00:36:26 +0000 (08:36 +0800)
we cannot assume 'using namespace std`

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/auth/AuthMethodList.cc

index 9ac1520fad96095d4e8705ab8abccc9152be4e95..4caf5348157305fa961e6d02b0d0e36286383afa 100644 (file)
@@ -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<string> sup_list;
+  std::list<std::string> sup_list;
   get_str_list(str, sup_list);
   if (sup_list.empty()) {
     lderr(cct) << "WARNING: empty auth protocol list" << dendl;