mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-23 03:15:58 -04:00
fix typename errors
This commit is contained in:
parent
5f37d30fbd
commit
9d0c8ccc40
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ namespace geode::modifier {
|
|||
// unordered_map<handles> idea
|
||||
ModifyBase() {
|
||||
static constexpr bool hasImproperCustomFields =
|
||||
sizeof(ModifyDerived::Derived) != sizeof(ModifyDerived::Base) + std::max(std::alignment_of_v<typename ModifyDerived::Base>, sizeof(uintptr_t));
|
||||
sizeof(typename ModifyDerived::Derived) != sizeof(typename ModifyDerived::Base) + std::max(std::alignment_of_v<typename ModifyDerived::Base>, sizeof(uintptr_t));
|
||||
static_assert(!hasImproperCustomFields,
|
||||
"\n--- Error in modify class:\n"
|
||||
" Do not add members to a modify class, use `struct Fields` instead.\n"
|
||||
|
|
Loading…
Reference in a new issue