فهرست منبع

profile_manager: Use INVALID_UUID in the initializer of last_opened_user

Makes it a little bit more self-documenting.
Lioncash 8 سال پیش
والد
کامیت
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