Commit Graph

9 Commits (d20c5ac720a0d26457c070b6d135c780af73107a)

Author SHA1 Message Date
Morph d20c5ac720 common: uuid: Add hash function for UUID
Used when UUID is a key in an unordered_map. The hash is produced by XORing the high and low 64-bits of the UUID together.
4 years ago
Morph 705f111058 common: uuid: Add hex string to UUID constructor
This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer.
4 years ago
Chloe Marcec 75e9d3b992 uuid: Directly compare UUID instead of checking per element
We can now update this for C++20
4 years ago
ReinUsesLisp f8650a9580 core: Silence Wclass-memaccess warnings
This requires making several types trivial and properly initialize
them whenever they are called.
4 years ago
Lioncash df72480395 common: Make use of [[nodiscard]] where applicable
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
5 years ago
David Marcec 1417849a2b acc: Return a unique value per account for GetAccountId 5 years ago
Zach Hilman 1aa2b99a98 mii: Implement Delete and Destroy file 6 years ago
Zach Hilman f0db2e3ef3 mii_manager: Cleanup and optimization 6 years ago
Zach Hilman ca5638a142 common: Extract UUID to its own class
Since the Mii database uses UUIDs very similar to the Accounts database, it makes no sense to not share code between them.
6 years ago