aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/pctl/pctl.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-16 01:35:46 -0700
committerGitHub <noreply@github.com>2021-05-16 01:35:46 -0700
commitad6e20cfdee573cf2abc2b6ffc749726a56b3354 (patch)
treea72d953f095188960382e115138d69d0667db6d9 /src/core/hle/service/pctl/pctl.cpp
parente8d2de1f99a73d6e92ab91d448e47e087833f7f7 (diff)
parent9a07ed53ebe4e27ef1a14e0469037cab9fb7b1e7 (diff)
Merge pull request #6296 from lioncash/shadow-error
core: Make variable shadowing a compile-time error
Diffstat (limited to 'src/core/hle/service/pctl/pctl.cpp')
-rw-r--r--src/core/hle/service/pctl/pctl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/pctl/pctl.cpp b/src/core/hle/service/pctl/pctl.cpp
index e4d155c86..908e0a1e3 100644
--- a/src/core/hle/service/pctl/pctl.cpp
+++ b/src/core/hle/service/pctl/pctl.cpp
@@ -7,8 +7,8 @@
namespace Service::PCTL {
PCTL::PCTL(Core::System& system_, std::shared_ptr<Module> module_, const char* name,
- Capability capability)
- : Interface{system_, std::move(module_), name, capability} {
+ Capability capability_)
+ : Interface{system_, std::move(module_), name, capability_} {
static const FunctionInfo functions[] = {
{0, &PCTL::CreateService, "CreateService"},
{1, &PCTL::CreateServiceWithoutInitialize, "CreateServiceWithoutInitialize"},