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(8) PlaceHolderId {
struct PlaceHolderId {
util::Uuid uuid;
bool operator==(const PlaceHolderId &other) const {
@@ -38,7 +38,7 @@ namespace ams::ncm {
}
};
static_assert(alignof(PlaceHolderId) == 8);
static_assert(alignof(PlaceHolderId) == 1);
constexpr inline PlaceHolderId InvalidPlaceHolderId = { util::InvalidUuid };