Просмотр исходного кода

acc: Correct IProfile's constructor initializer list order

Arranges them in the order the members would be initialized
Lioncash 8 лет назад
Родитель
Сommit
f5b132676f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/acc/acc.cpp

+ 1 - 1
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> {
 class IProfile final : public ServiceFramework<IProfile> {
 public:
 public:
     explicit IProfile(UUID user_id, ProfileManager& profile_manager)
     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[] = {
         static const FunctionInfo functions[] = {
             {0, &IProfile::Get, "Get"},
             {0, &IProfile::Get, "Get"},
             {1, &IProfile::GetBase, "GetBase"},
             {1, &IProfile::GetBase, "GetBase"},