diff options
| author | 2021-01-17 00:55:10 -0800 | |
|---|---|---|
| committer | 2021-01-17 00:55:10 -0800 | |
| commit | e8401964b4cb617223554e147091f109dc870ba5 (patch) | |
| tree | 0e963c000006ca547044bdc628177311fa0dc585 /src/common | |
| parent | Merge pull request #5745 from lioncash/documentation (diff) | |
| parent | core/cmake: Enforce Wclass-memaccess (diff) | |
| download | yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.gz yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.xz yuzu-e8401964b4cb617223554e147091f109dc870ba5.zip | |
Merge pull request #5360 from ReinUsesLisp/enforce-memclass-access
core: Silence Wclass-memaccess warnings and enforce it
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/uuid.h | 4 |
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}}; | |||
| 14 | 14 | ||
| 15 | struct UUID { | 15 | struct UUID { |
| 16 | // UUIDs which are 0 are considered invalid! | 16 | // UUIDs which are 0 are considered invalid! |
| 17 | u128 uuid = INVALID_UUID; | 17 | u128 uuid; |
| 18 | constexpr UUID() = default; | 18 | UUID() = default; |
| 19 | constexpr explicit UUID(const u128& id) : uuid{id} {} | 19 | constexpr explicit UUID(const u128& id) : uuid{id} {} |
| 20 | constexpr explicit UUID(const u64 lo, const u64 hi) : uuid{{lo, hi}} {} | 20 | constexpr explicit UUID(const u64 lo, const u64 hi) : uuid{{lo, hi}} {} |
| 21 | 21 | ||