1
0
mirror of synced 2024-11-12 02:00:52 +01:00

Fixed unions not advancing offset

This commit is contained in:
WerWolv 2021-01-10 22:57:04 +01:00
parent 867faef496
commit 7b089a1f2f

View File

@ -423,6 +423,8 @@ namespace hex::lang {
for (const auto &pattern : memberPatterns)
size = std::max(size, pattern->getSize());
this->m_currOffset += size;
return new PatternDataUnion(startOffset, size, memberPatterns);
}