]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
messages: Update MGetPoolStats.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 00:53:17 +0000 (20:53 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:36 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/messages/MGetPoolStats.h

index 54ee08f65aec9cef38e8934e283e3b09a8fce442..50e40c788b32623ded696dab88fe617253365a39 100644 (file)
@@ -23,10 +23,10 @@ public:
   friend factory;
 
   uuid_d fsid;
-  list<string> pools;
+  std::list<std::string> pools;
 
   MGetPoolStats() : MessageInstance(MSG_GETPOOLSTATS, 0) {}
-  MGetPoolStats(const uuid_d& f, ceph_tid_t t, list<string>& ls, version_t l) :
+  MGetPoolStats(const uuid_d& f, ceph_tid_t t, std::list<std::string>& ls, version_t l) :
     MessageInstance(MSG_GETPOOLSTATS, l),
     fsid(f), pools(ls) {
     set_tid(t);
@@ -37,7 +37,7 @@ private:
 
 public:
   std::string_view get_type_name() const override { return "getpoolstats"; }
-  void print(ostream& out) const override {
+  void print(std::ostream& out) const override {
     out << "getpoolstats(" << get_tid() << " " << pools << " v" << version << ")";
   }