mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-12 18:03:13 +01:00
Fix for issue #430
This commit is contained in:
@@ -181,7 +181,7 @@ IrTypeStruct* IrTypeStruct::get(StructDeclaration* sd)
|
||||
size_t offset = 0;
|
||||
size_t field_index = 0;
|
||||
|
||||
bool packed = (sd->type->alignsize() == 1);
|
||||
bool packed = (sd->alignment == 1);
|
||||
|
||||
// first we sort the list by offset
|
||||
std::sort(data.begin(), data.end(), var_offset_sort_cb);
|
||||
|
||||
Submodule tests/d2/dmd-testsuite updated: e8c14b05ca...34ab16a4fc
Reference in New Issue
Block a user