Merge pull request #3259 from lioncash/init-order

ac: Correct constructor initialization order
master
Sebastian Valle 2017-12-10 08:46:11 +07:00 committed by GitHub
commit 951b023a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -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)
: ac(std::move(ac)), ServiceFramework(name, max_session) {}
: ServiceFramework(name, max_session), ac(std::move(ac)) {}
void InstallInterfaces(SM::ServiceManager& service_manager) {
auto ac = std::make_shared<Module>();