mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
cause my ebo check is wrong
This commit is contained in:
parent
bf2fcd2daf
commit
f523689f53
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue