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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user