浏览代码

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