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
commit 2539215f18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();
}