Add support for fmt 11 (#1366)

This commit is contained in:
Alexandre Bouvier
2024-10-17 19:13:37 +03:00
committed by SSimco
parent 669fb5533d
commit 6016f2e298
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ using EmulatedControllerPtr = std::shared_ptr<EmulatedController>;
template <>
struct fmt::formatter<EmulatedController::Type> : formatter<string_view> {
template <typename FormatContext>
auto format(EmulatedController::Type v, FormatContext& ctx) {
auto format(EmulatedController::Type v, FormatContext& ctx) const {
switch (v)
{
case EmulatedController::Type::VPAD: return formatter<string_view>::format("Wii U Gamepad", ctx);