From: Adam C. Emerson Date: Fri, 29 Mar 2019 00:53:17 +0000 (-0400) Subject: messages: Update MGetPoolStats.h to work without using namespace X-Git-Tag: v15.0.0~19^2~68 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8447a533ea147529436c1e9f3b2dc78f31e01736;p=ceph.git messages: Update MGetPoolStats.h to work without using namespace Signed-off-by: Adam C. Emerson --- diff --git a/src/messages/MGetPoolStats.h b/src/messages/MGetPoolStats.h index 54ee08f65aec9..50e40c788b326 100644 --- a/src/messages/MGetPoolStats.h +++ b/src/messages/MGetPoolStats.h @@ -23,10 +23,10 @@ public: friend factory; uuid_d fsid; - list pools; + std::list pools; MGetPoolStats() : MessageInstance(MSG_GETPOOLSTATS, 0) {} - MGetPoolStats(const uuid_d& f, ceph_tid_t t, list& ls, version_t l) : + MGetPoolStats(const uuid_d& f, ceph_tid_t t, std::list& 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 << ")"; }