Merge pull request #5660 from FearlessTobi/port-5166

Port yuzu-emu/yuzu#5166: "core: Remove unnecessary enum casts in log calls"
This commit is contained in:
Marshall Mohror
2021-02-03 10:19:38 -06:00
committed by GitHub
36 changed files with 136 additions and 162 deletions

View File

@@ -87,7 +87,7 @@ ValidationError SoftwareKeyboard::ValidateInput(const std::string& input) const
default:
// TODO(jroweboy): What does hardware do in this case?
LOG_CRITICAL(Frontend, "Application requested unknown validation method. Method: {}",
static_cast<u32>(config.accept_mode));
config.accept_mode);
UNREACHABLE();
}