]> 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)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 29 Jun 2023 11:59:21 +0000 (06:59 -0500)
commit7c6bfc406ffaed142b6c1f9b5d027ef54cf3e3fb
treefdc74c16129a6747a44f5883dcb257f1ccc1ab58
parent09fd58176db195c0be55218401a16813aee6bb4d
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>
(cherry picked from commit 6e223a6802152fc689ecdbf38fb4a410123844c7)
src/common/Journald.cc