Skip to content

Commit aedde7f

Browse files
committed
common: fix ambiguous error when using gcc 13
Signed-off-by: Zhang Song <[email protected]>
1 parent c7206dd commit aedde7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/scrub_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ struct fmt::formatter<librados::object_id_t> {
220220
template <typename FormatContext>
221221
auto format(const auto &oid, FormatContext& ctx) const
222222
{
223-
return format_to(ctx.out(), "{}/{}/{}", oid.locator, oid.nspace, oid.name);
223+
return fmt::format_to(ctx.out(), "{}/{}/{}", oid.locator, oid.nspace, oid.name);
224224
}
225225
};
226226

0 commit comments

Comments
 (0)