summaryrefslogtreecommitdiffstats
path: root/src/common/uuid.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-15 09:33:33 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-15 20:31:19 +0100
commitf8650a9580cf61cf97011511d8a1fd53346ac99c (patch)
treec9860b9bcbc5b308c806977d603e67d8ae996c14 /src/common/uuid.h
parentcommon/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT (diff)
downloadyuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.tar
yuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.tar.gz
yuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.tar.bz2
yuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.tar.lz
yuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.tar.xz
yuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.tar.zst
yuzu-f8650a9580cf61cf97011511d8a1fd53346ac99c.zip
Diffstat (limited to '')
-rw-r--r--src/common/uuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/uuid.h b/src/common/uuid.h
index 4ab9a25f0..2e7a18405 100644
--- a/src/common/uuid.h
+++ b/src/common/uuid.h
@@ -14,8 +14,8 @@ constexpr u128 INVALID_UUID{{0, 0}};
struct UUID {
// UUIDs which are 0 are considered invalid!
- u128 uuid = INVALID_UUID;
- constexpr UUID() = default;
+ u128 uuid;
+ UUID() = default;
constexpr explicit UUID(const u128& id) : uuid{id} {}
constexpr explicit UUID(const u64 lo, const u64 hi) : uuid{{lo, hi}} {}