diff options
Diffstat (limited to 'src/core/hle/service/acc/acc.h')
-rw-r--r-- | src/core/hle/service/acc/acc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/service/acc/acc.h b/src/core/hle/service/acc/acc.h index 89d92c1c7..a94e6f588 100644 --- a/src/core/hle/service/acc/acc.h +++ b/src/core/hle/service/acc/acc.h @@ -13,7 +13,8 @@ class Module final { public: class Interface : public ServiceFramework<Interface> { public: - explicit Interface(std::shared_ptr<Module> module, const char* name); + explicit Interface(std::shared_ptr<Module> module, + std::shared_ptr<ProfileManager> profile_manager, const char* name); void GetUserCount(Kernel::HLERequestContext& ctx); void GetUserExistence(Kernel::HLERequestContext& ctx); @@ -25,11 +26,9 @@ public: void GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx); void IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx); - private: - std::unique_ptr<ProfileManager> profile_manager{}; - protected: std::shared_ptr<Module> module; + std::shared_ptr<ProfileManager> profile_manager; }; }; |