]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
*: specialize fmt::formatter<> for formatting using {fmt} 49001/head
authorKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 04:26:19 +0000 (12:26 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 12:41:17 +0000 (20:41 +0800)
commit01f6bef6e5250bf568d9d5f6acf37de64236159a
tree850dbc73f4b29ead0100473b780527a46fe0591c
parent601de01501943d72fd8cc63c0f46633086acf216
*: specialize fmt::formatter<> for formatting using {fmt}

in {fmt} v9, fmt::formatter<> is not defined automatically for
the types with operator<<, we need to define them explictly. so in this
change, the types printed using `fmt::print()` or `fmt::format()` are
equiped with fmt::formatter<> to appease {fmt} v9.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/common/ceph_time.h
src/common/hobject.h
src/common/snap_types.h
src/crush/CrushLocation.h
src/include/types.h
src/include/uuid.h
src/msg/Message.h
src/msg/msg_types.h
src/osd/osd_types.h
src/osd/osd_types_fmt.h
src/osd/recovery_types.h