]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Journald: include msg/msg_fmt.h
authorKefu Chai <tchaikov@gmail.com>
Sat, 27 Aug 2022 02:27:01 +0000 (10:27 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 27 Aug 2022 15:59:24 +0000 (23:59 +0800)
commit6e223a6802152fc689ecdbf38fb4a410123844c7
tree8b86722ca1ad9b07470df1b5b21c595906432fe8
parent75d4ce7169efac7895e25e140e7a14387224022e
common/Journald: include msg/msg_fmt.h

so we can use the formatter defined for `entity_name_t`. in fmtlib v9,
it is required to define a specialization for the formatted type even
the type has an override of operator<<(). now that we already have a
formatter for `entity_name_t`, let's just use it.

this change should address the FTBFS when building with fmtlib v9.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/common/Journald.cc