X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fmds%2FFSMapUser.h;h=96ac26d6da947fdecd69429894889e74d1de28e4;hb=aee94f6923ba628a85d855d0c5316d0da78bfa2a;hp=a0be8e714aff77588573172033a1e20442b08efe;hpb=27f45121cc74e31203777ad565f78d8aad9b92a2;p=ceph.git diff --git a/ceph/src/mds/FSMapUser.h b/ceph/src/mds/FSMapUser.h index a0be8e714..96ac26d6d 100644 --- a/ceph/src/mds/FSMapUser.h +++ b/ceph/src/mds/FSMapUser.h @@ -46,7 +46,7 @@ public: void decode(ceph::buffer::list::const_iterator& bl); void print(std::ostream& out) const; - void print_summary(ceph::Formatter *f, std::ostream *out); + void print_summary(ceph::Formatter *f, std::ostream *out) const; static void generate_test_instances(std::list& ls); @@ -57,7 +57,7 @@ public: WRITE_CLASS_ENCODER_FEATURES(FSMapUser::fs_info_t) WRITE_CLASS_ENCODER_FEATURES(FSMapUser) -inline std::ostream& operator<<(std::ostream& out, FSMapUser& m) { +inline std::ostream& operator<<(std::ostream& out, const FSMapUser& m) { m.print_summary(NULL, &out); return out; }