diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-02 11:05:30 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-02 11:05:30 +0000 |
| commit | ad2122a7fc867edcb8af6e4b3d01fb06a0c8a055 (patch) | |
| tree | 3ea0af5471de11ae0c00604900c7a6d9840db8da | |
| parent | c7f40b8b8fb129acf369cca7dd472626e983d1b4 (diff) | |
Move `alignas` to before name
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 34fa91384..9568b8cfa 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -1792,7 +1792,7 @@ gb_internal void add_untyped(CheckerContext *c, Ast *expr, AddressingMode mode, check_set_expr_info(c, expr, mode, type, value); } -struct TypeAndValueMutexStripes alignas(GB_CACHE_LINE_SIZE) { +struct alignas(GB_CACHE_LINE_SIZE) TypeAndValueMutexStripes { BlockingMutex mutex; u8 padding[GB_CACHE_LINE_SIZE - gb_size_of(BlockingMutex)]; }; |