diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-16 15:26:29 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-16 15:26:29 -0400 |
| commit | 849fd423a759edf1b58b548a6148c177a6f8cd71 (patch) | |
| tree | 022f4ec014991f31e731f9e4574c2b32d8f5456d /src/stdlib/optionals.c | |
| parent | 0363b260689068b146357a8caf021590705e615d (diff) | |
Fix further issue with optionals
Diffstat (limited to 'src/stdlib/optionals.c')
| -rw-r--r-- | src/stdlib/optionals.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stdlib/optionals.c b/src/stdlib/optionals.c index 3c595893..ead9428a 100644 --- a/src/stdlib/optionals.c +++ b/src/stdlib/optionals.c @@ -15,8 +15,6 @@ public PUREFUNC bool is_none(const void *obj, const TypeInfo_t *non_optional_typ return non_optional_type->metamethods.is_none(obj, non_optional_type); const void *dest = (obj + non_optional_type->size); - if (non_optional_type->align > 0 && (int64_t)dest % non_optional_type->align) - dest += (non_optional_type->align - ((int64_t)dest % non_optional_type->align)); return *(bool*)dest; } |
