aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/apm/controller.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-07 22:00:34 -0500
committerLioncash <mathew1800@gmail.com>2020-12-07 23:02:23 -0500
commit6b7320add44bf3d933063d0b93296222fd522ef6 (patch)
tree06cb434947232a7105e955a8237285a15ac5556b /src/core/hle/service/apm/controller.cpp
parent3415890dd5c6539a7c7b6e02bf7ce5df4533133c (diff)
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.
Diffstat (limited to 'src/core/hle/service/apm/controller.cpp')
-rw-r--r--src/core/hle/service/apm/controller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/apm/controller.cpp b/src/core/hle/service/apm/controller.cpp
index ce993bad3..03636642b 100644
--- a/src/core/hle/service/apm/controller.cpp
+++ b/src/core/hle/service/apm/controller.cpp
@@ -48,8 +48,7 @@ void Controller::SetPerformanceConfiguration(PerformanceMode mode,
[config](const auto& entry) { return entry.first == config; });
if (iter == config_to_speed.cend()) {
- LOG_ERROR(Service_APM, "Invalid performance configuration value provided: {}",
- static_cast<u32>(config));
+ LOG_ERROR(Service_APM, "Invalid performance configuration value provided: {}", config);
return;
}