1
0
Fork 0
forked from suyu/suyu

profile_manager: Use INVALID_UUID in the initializer of last_opened_user

Makes it a little bit more self-documenting.
This commit is contained in:
Lioncash 2018-08-20 18:53:32 -04:00
parent 9d8f19d7bf
commit 350f6e0aa4

View file

@ -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