]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crimson/mgr/client.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crimson / mgr / client.h
index 17d62d03477128d3fb3bc82956868eaeb17b4e0c..e8457543305681defdb7c7881bda2640e87512a3 100644 (file)
@@ -24,7 +24,7 @@ namespace crimson::mgr
 // implement WithStats if you want to report stats to mgr periodically
 class WithStats {
 public:
-  virtual MessageURef get_stats() const = 0;
+  virtual seastar::future<MessageURef> get_stats() const = 0;
   virtual ~WithStats() {}
 };
 
@@ -64,3 +64,7 @@ inline std::ostream& operator<<(std::ostream& out, const Client& client) {
 }
 
 }
+
+#if FMT_VERSION >= 90000
+template <> struct fmt::formatter<crimson::mgr::Client> : fmt::ostream_formatter {};
+#endif