core: Remove unnecessary enum casts in log calls

Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.

Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
This commit is contained in:
FearlessTobi
2020-12-29 06:39:21 +01:00
co-authored by LC
parent 3f13e1cc24
commit da908a9ed1
36 changed files with 136 additions and 162 deletions
+1 -2
View File
@@ -50,8 +50,7 @@ static std::chrono::seconds GetInitTime() {
case Settings::InitClock::FixedTime:
return std::chrono::seconds(Settings::values.init_time);
default:
UNREACHABLE_MSG("Invalid InitClock value ({})",
static_cast<u32>(Settings::values.init_clock));
UNREACHABLE_MSG("Invalid InitClock value ({})", Settings::values.init_clock);
}
}