mark format functions as const

This commit is contained in:
Samuliak
2024-10-05 08:04:46 +02:00
parent 509b880eec
commit c52427b676
15 changed files with 27 additions and 27 deletions

View File

@@ -55,7 +55,7 @@ struct fmt::formatter<Shader::IR::FlowTest> {
return ctx.begin();
}
template <typename FormatContext>
auto format(const Shader::IR::FlowTest& flow_test, FormatContext& ctx) {
auto format(const Shader::IR::FlowTest& flow_test, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{}", Shader::IR::NameOf(flow_test));
}
};