mirror of
https://github.com/ceph/ceph
synced 2025-02-01 16:03:43 +00:00
Merge pull request #55121 from zhscn/fix-ambiguous-error
common: fix ambiguous error when using gcc 13 Reviewed-by: Samuel Just <sjust@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
commit
d813ce1923
@ -220,7 +220,7 @@ struct fmt::formatter<librados::object_id_t> {
|
||||
template <typename FormatContext>
|
||||
auto format(const auto &oid, FormatContext& ctx) const
|
||||
{
|
||||
return format_to(ctx.out(), "{}/{}/{}", oid.locator, oid.nspace, oid.name);
|
||||
return fmt::format_to(ctx.out(), "{}/{}/{}", oid.locator, oid.nspace, oid.name);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user