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

profile_manager: Use INVALID_UUID in the initializer of last_opened_user

Makes it a little bit more self-documenting.
Lioncash 8 лет назад
Родитель
Сommit
350f6e0aa4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/acc/profile_manager.h

+ 1 - 1
src/core/hle/service/acc/profile_manager.h

@@ -111,7 +111,7 @@ private:
     size_t user_count = 0;
     boost::optional<size_t> AddToProfiles(const ProfileInfo& profile);
     bool RemoveProfileAtIndex(size_t index);
-    UUID last_opened_user{0, 0};
+    UUID last_opened_user{INVALID_UUID};
 };
 
 }; // namespace Service::Account