diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-05-04 04:04:05 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-05-04 04:38:38 -0400 |
| commit | 9e726a9250033f5c8fbddd917c7779b808d99705 (patch) | |
| tree | 587ac77fbf0c4aa24c80710c802385bc4ac9b4d6 /src/core/hle/service/acc/acc_aa.cpp | |
| parent | df51eb9bdec5be189e0662ab81bc29277f3da343 (diff) | |
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/acc/acc_aa.cpp')
| -rw-r--r-- | src/core/hle/service/acc/acc_aa.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/acc/acc_aa.cpp b/src/core/hle/service/acc/acc_aa.cpp index 51f119b12..e498fb64d 100644 --- a/src/core/hle/service/acc/acc_aa.cpp +++ b/src/core/hle/service/acc/acc_aa.cpp @@ -6,9 +6,10 @@ namespace Service::Account { -ACC_AA::ACC_AA(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager, - Core::System& system) - : Module::Interface(std::move(module), std::move(profile_manager), system, "acc:aa") { +ACC_AA::ACC_AA(std::shared_ptr<Module> module_, std::shared_ptr<ProfileManager> profile_manager_, + Core::System& system_) + : Interface(std::move(module_), std::move(profile_manager_), system_, "acc:aa") { + // clang-format off static const FunctionInfo functions[] = { {0, nullptr, "EnsureCacheAsync"}, {1, nullptr, "LoadCache"}, @@ -16,6 +17,7 @@ ACC_AA::ACC_AA(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p {50, nullptr, "RegisterNotificationTokenAsync"}, // 1.0.0 - 6.2.0 {51, nullptr, "UnregisterNotificationTokenAsync"}, // 1.0.0 - 6.2.0 }; + // clang-format on RegisterHandlers(functions); } |
