mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 12:13:00 +00:00
fixed invalid uuid bool operator
This commit is contained in:
parent
b8e70faa2d
commit
42431d2aa6
|
@ -24,7 +24,7 @@ struct UUID {
|
|||
uuid[1] = hi;
|
||||
};
|
||||
explicit operator bool() const {
|
||||
return uuid[0] != INVALID_UUID[0] && uuid[1] != INVALID_UUID[1];
|
||||
return uuid[0] != INVALID_UUID[0] || uuid[1] != INVALID_UUID[1];
|
||||
}
|
||||
|
||||
bool operator==(const UUID& rhs) const {
|
||||
|
|
Loading…
Reference in a new issue