mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
Add support for fmt 11 (#1366)
This commit is contained in:
committed by
SSimco
parent
669fb5533d
commit
6016f2e298
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user