diff options
| author | 2021-05-04 04:04:05 -0400 | |
|---|---|---|
| committer | 2021-05-04 04:38:38 -0400 | |
| commit | 9e726a9250033f5c8fbddd917c7779b808d99705 (patch) | |
| tree | 587ac77fbf0c4aa24c80710c802385bc4ac9b4d6 /src/core/hle/service/bcat | |
| parent | Merge pull request #6278 from lioncash/misc-shadow (diff) | |
| download | yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.gz yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.xz yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.zip | |
service: Resolve cases of member field shadowing
Now all that remains is for kernel code to be 'shadow-free' and then
-Wshadow can be turned into an error.
Diffstat (limited to 'src/core/hle/service/bcat')
| -rw-r--r-- | src/core/hle/service/bcat/bcat.cpp | 6 | ||||
| -rw-r--r-- | src/core/hle/service/bcat/bcat.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/bcat/bcat.cpp b/src/core/hle/service/bcat/bcat.cpp index b31766212..5a95707de 100644 --- a/src/core/hle/service/bcat/bcat.cpp +++ b/src/core/hle/service/bcat/bcat.cpp | |||
| @@ -6,9 +6,9 @@ | |||
| 6 | 6 | ||
| 7 | namespace Service::BCAT { | 7 | namespace Service::BCAT { |
| 8 | 8 | ||
| 9 | BCAT::BCAT(Core::System& system, std::shared_ptr<Module> module, | 9 | BCAT::BCAT(Core::System& system_, std::shared_ptr<Module> module_, |
| 10 | FileSystem::FileSystemController& fsc, const char* name) | 10 | FileSystem::FileSystemController& fsc_, const char* name_) |
| 11 | : Interface(system, std::move(module), fsc, name) { | 11 | : Interface(system_, std::move(module_), fsc_, name_) { |
| 12 | // clang-format off | 12 | // clang-format off |
| 13 | static const FunctionInfo functions[] = { | 13 | static const FunctionInfo functions[] = { |
| 14 | {0, &BCAT::CreateBcatService, "CreateBcatService"}, | 14 | {0, &BCAT::CreateBcatService, "CreateBcatService"}, |
diff --git a/src/core/hle/service/bcat/bcat.h b/src/core/hle/service/bcat/bcat.h index 6354465fc..d72798980 100644 --- a/src/core/hle/service/bcat/bcat.h +++ b/src/core/hle/service/bcat/bcat.h | |||
| @@ -14,8 +14,8 @@ namespace Service::BCAT { | |||
| 14 | 14 | ||
| 15 | class BCAT final : public Module::Interface { | 15 | class BCAT final : public Module::Interface { |
| 16 | public: | 16 | public: |
| 17 | explicit BCAT(Core::System& system, std::shared_ptr<Module> module, | 17 | explicit BCAT(Core::System& system_, std::shared_ptr<Module> module_, |
| 18 | FileSystem::FileSystemController& fsc, const char* name); | 18 | FileSystem::FileSystemController& fsc_, const char* name_); |
| 19 | ~BCAT() override; | 19 | ~BCAT() override; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||