mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 11:33:35 +00:00
fix: Resolve compilation issues with fmt library and formatters
Fix multiple compilation errors preventing successful build: * Add const qualifier to custom fmt formatter functions across codebase - Updated formatters in logging, shader recompiler, texture cache, and other modules - Ensures compatibility with newer fmt library versions * Add missing fmt/ranges.h includes for fmt::join usage - Fixed fmt::join calls in Vulkan renderer, GDB stub, NFC service, and main window - Resolves "no member named 'join' in namespace 'fmt'" errors * Exclude unsupported platforms from Boost.Process usage in debugger - Extended conditional compilation to avoid Boost.Process where unavailable * Fix type casting issues in AOC service manager - Resolved std::min type mismatch with explicit casting
This commit is contained in:
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user