Forráskód Böngészése

profile_manager: Use INVALID_UUID in the initializer of last_opened_user

Makes it a little bit more self-documenting.
Lioncash 8 éve
szülő
commit
350f6e0aa4
1 módosított fájl, 1 hozzáadás és 1 törlés
  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