mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix ambiguous uses of format_to
At least in MSVC (which is not restricted from targetting C++20), these can be resolved to either std::format_to or fmt::format_to (though I'm not sure why the std one is available). We want the latter.
This commit is contained in:
@ -38,7 +38,7 @@ struct fmt::formatter<geometry_shader_uid_data>
|
||||
template <typename FormatContext>
|
||||
auto format(const geometry_shader_uid_data& uid, FormatContext& ctx) const
|
||||
{
|
||||
return format_to(ctx.out(), "passthrough: {}, {} tex gens, primitive type {}",
|
||||
uid.IsPassthrough(), uid.numTexGens, uid.primitive_type);
|
||||
return fmt::format_to(ctx.out(), "passthrough: {}, {} tex gens, primitive type {}",
|
||||
uid.IsPassthrough(), uid.numTexGens, uid.primitive_type);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user