summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-17 09:55:10 +0100
committerGitHub <noreply@github.com>2021-01-17 09:55:10 +0100
commite8401964b4cb617223554e147091f109dc870ba5 (patch)
tree0e963c000006ca547044bdc628177311fa0dc585 /src/common
parentMerge pull request #5745 from lioncash/documentation (diff)
parentcore/cmake: Enforce Wclass-memaccess (diff)
downloadyuzu-e8401964b4cb617223554e147091f109dc870ba5.tar
yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.gz
yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.bz2
yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.lz
yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.xz
yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.zst
yuzu-e8401964b4cb617223554e147091f109dc870ba5.zip
Diffstat (limited to 'src/common')
-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}} {}