Browse Source

acc: Correct IProfile's constructor initializer list order

Arranges them in the order the members would be initialized
nce_cpp
Lioncash 7 years ago
parent
commit
477a9f8a66
  1. 2
      src/core/hle/service/acc/acc.cpp

2
src/core/hle/service/acc/acc.cpp

@ -30,7 +30,7 @@ static_assert(sizeof(UserData) == 0x80, "UserData structure has incorrect size")
class IProfile final : public ServiceFramework<IProfile> {
public:
explicit IProfile(UUID user_id, ProfileManager& profile_manager)
: ServiceFramework("IProfile"), user_id(user_id), profile_manager(profile_manager) {
: ServiceFramework("IProfile"), profile_manager(profile_manager), user_id(user_id) {
static const FunctionInfo functions[] = {
{0, &IProfile::Get, "Get"},
{1, &IProfile::GetBase, "GetBase"},

Loading…
Cancel
Save