File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 77#include " common/ceph_json.h"
88#include " include/denc.h"
99
10+ #include < iostream>
11+
1012void inodeno_t::dump (ceph::Formatter *f) const {
1113 f->dump_unsigned (" val" , val);
1214}
1315
16+ std::ostream& operator <<(std::ostream& out, const inodeno_t & ino) {
17+ return out << std::hex << " 0x" << ino.val << std::dec;
18+ }
19+
1420void dump (const ceph_file_layout& l, ceph::Formatter *f)
1521{
1622 f->dump_unsigned (" stripe_unit" , l.fl_stripe_unit );
Original file line number Diff line number Diff line change 55
66#include < cstdint>
77#include < list>
8- #include < iostream >
8+ #include < iosfwd >
99#include < string>
1010
1111#include " include/buffer.h"
@@ -70,9 +70,7 @@ struct denc_traits<inodeno_t> {
7070 }
7171};
7272
73- inline std::ostream& operator <<(std::ostream& out, const inodeno_t & ino) {
74- return out << std::hex << " 0x" << ino.val << std::dec;
75- }
73+ std::ostream& operator <<(std::ostream& out, const inodeno_t & ino);
7674
7775namespace std {
7876template <>
You can’t perform that action at this time.
0 commit comments