mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 15:30:06 +00:00
Merge pull request #3259 from lioncash/init-order
ac: Correct constructor initialization order
This commit is contained in:
commit
951b023a3d
@ -170,7 +170,7 @@ void Module::Interface::SetClientVersion(Kernel::HLERequestContext& ctx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Module::Interface::Interface(std::shared_ptr<Module> ac, const char* name, u32 max_session)
|
Module::Interface::Interface(std::shared_ptr<Module> ac, const char* name, u32 max_session)
|
||||||
: ac(std::move(ac)), ServiceFramework(name, max_session) {}
|
: ServiceFramework(name, max_session), ac(std::move(ac)) {}
|
||||||
|
|
||||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||||
auto ac = std::make_shared<Module>();
|
auto ac = std::make_shared<Module>();
|
||||||
|
Loading…
Reference in New Issue
Block a user