X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fmessages%2FMGetPoolStats.h;fp=ceph%2Fsrc%2Fmessages%2FMGetPoolStats.h;h=82d1fcd2d63a5ae7b035fcc5023d754cb966ba2c;hb=f67539c23b11f3b8a2ecaeeddf7a403ae1c442a8;hp=51bc134a21f7704bbd9fd2361fc5f86c3ddc870a;hpb=64a4c04e6850c6d9086e4c37f57c4eada541b05e;p=ceph.git diff --git a/ceph/src/messages/MGetPoolStats.h b/ceph/src/messages/MGetPoolStats.h index 51bc134a2..82d1fcd2d 100644 --- a/ceph/src/messages/MGetPoolStats.h +++ b/ceph/src/messages/MGetPoolStats.h @@ -18,20 +18,20 @@ #include "messages/PaxosServiceMessage.h" -class MGetPoolStats : public PaxosServiceMessage { +class MGetPoolStats final : public PaxosServiceMessage { public: uuid_d fsid; - std::list pools; + std::vector pools; MGetPoolStats() : PaxosServiceMessage{MSG_GETPOOLSTATS, 0} {} - MGetPoolStats(const uuid_d& f, ceph_tid_t t, std::list& ls, version_t l) : + MGetPoolStats(const uuid_d& f, ceph_tid_t t, std::vector& ls, version_t l) : PaxosServiceMessage{MSG_GETPOOLSTATS, l}, fsid(f), pools(ls) { set_tid(t); } private: - ~MGetPoolStats() override {} + ~MGetPoolStats() final {} public: std::string_view get_type_name() const override { return "getpoolstats"; }