early-access version 1899
This commit is contained in:
parent
9b74595473
commit
3566a37956
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 1898.
|
This is the source code for early-access 1899.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -20,12 +20,11 @@ struct UUID {
|
|||||||
constexpr explicit UUID(const u64 lo, const u64 hi) : uuid{{lo, hi}} {}
|
constexpr explicit UUID(const u64 lo, const u64 hi) : uuid{{lo, hi}} {}
|
||||||
|
|
||||||
[[nodiscard]] constexpr explicit operator bool() const {
|
[[nodiscard]] constexpr explicit operator bool() const {
|
||||||
return uuid[0] != INVALID_UUID[0] && uuid[1] != INVALID_UUID[1];
|
return uuid != INVALID_UUID;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] constexpr bool operator==(const UUID& rhs) const {
|
[[nodiscard]] constexpr bool operator==(const UUID& rhs) const {
|
||||||
// TODO(DarkLordZach): Replace with uuid == rhs.uuid with C++20
|
return uuid == rhs.uuid;
|
||||||
return uuid[0] == rhs.uuid[0] && uuid[1] == rhs.uuid[1];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] constexpr bool operator!=(const UUID& rhs) const {
|
[[nodiscard]] constexpr bool operator!=(const UUID& rhs) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user