]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
messages: Update MGetPoolStatsReply.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 00:53:08 +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/MGetPoolStatsReply.h

index e9bb829dc17027b1f43a5c3f0e158efa6c37af91..076f3fde3e7dabc86b117943369047bac43d4677 100644 (file)
@@ -21,7 +21,7 @@ public:
   friend factory;
 
   uuid_d fsid;
-  map<string,pool_stat_t> pool_stats;
+  std::map<std::string,pool_stat_t> pool_stats;
 
   MGetPoolStatsReply() : MessageInstance(MSG_GETPOOLSTATSREPLY, 0) {}
   MGetPoolStatsReply(uuid_d& f, ceph_tid_t t, version_t v) :
@@ -35,7 +35,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 << "getpoolstatsreply(" << get_tid() << " v" << version <<  ")";
   }