mark format functions as const

This commit is contained in:
Samuliak 2024-10-05 08:04:46 +02:00
parent 509b880eec
commit c52427b676
No known key found for this signature in database
15 changed files with 27 additions and 27 deletions

View file

@ -102,7 +102,7 @@ struct fmt::formatter<Shader::Maxwell::Location> {
return ctx.begin();
}
template <typename FormatContext>
auto format(const Shader::Maxwell::Location& location, FormatContext& ctx) {
auto format(const Shader::Maxwell::Location& location, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{:04x}", location.Offset());
}
};