aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/apm/controller.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-08 21:58:13 -0800
committerGitHub <noreply@github.com>2020-12-08 21:58:13 -0800
commit6f41763061082d5fa2ab039c554427152243cb46 (patch)
tree158dde17ce9426c21c727f03a6e8651b09a2dade /src/core/hle/service/apm/controller.cpp
parent05a703e15d37265523b7f804e066a80ba14f0096 (diff)
parent6b7320add44bf3d933063d0b93296222fd522ef6 (diff)
Merge pull request #5166 from lioncash/log-cast
core: Remove unnecessary enum casts in log calls
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;
}