cause my ebo check is wrong

This commit is contained in:
altalk23 2024-06-20 20:14:32 +03:00
parent bf2fcd2daf
commit f523689f53

View file

@ -101,7 +101,10 @@ namespace geode::modifier {
// unordered_map<handles> idea
ModifyBase() {
struct EboCheck : ModifyDerived::Base {
char c;
std::aligned_storage_t<
std::alignment_of_v<typename ModifyDerived::Base>,
std::alignment_of_v<typename ModifyDerived::Base>
> m_padding;
};
static constexpr auto baseSize = sizeof(typename ModifyDerived::Base);
static constexpr auto derivedSize = sizeof(typename ModifyDerived::Derived);