ncm: alignment was changed for PlaceHolderId/ContentId in 16.0.0

This commit is contained in:
Michael Scire
2023-02-22 18:03:03 -07:00
committed by SciresM
parent bbcee8c77c
commit 8876eedfb0
13 changed files with 36 additions and 32 deletions

View File

@@ -18,7 +18,7 @@
namespace ams::ncm {
struct alignas(4) ContentId {
struct ContentId {
util::Uuid uuid;
bool operator==(const ContentId &other) const {
@@ -38,7 +38,7 @@ namespace ams::ncm {
}
};
static_assert(alignof(ContentId) == 4);
static_assert(alignof(ContentId) == 1);
constexpr inline ContentId InvalidContentId = { util::InvalidUuid };