diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-09-10 18:20:20 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-09-10 18:20:20 +0100 |
| commit | 21b1173076cec12f97c5779556509ef1b908c644 (patch) | |
| tree | 6404b2245872d44841893decb9656290a5e06529 /src/check_stmt.cpp | |
| parent | af37ba76c1b50c6f4fbe7045446ca645ed604d3e (diff) | |
Minor clean up of permanent/temporary arena usage
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index ae88ff333..e03d4a7ae 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1963,7 +1963,7 @@ gb_internal void check_range_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags) } auto rhs = slice_from_array(vals); - auto lhs = slice_make<Ast *>(temporary_allocator(), rhs.count); + auto lhs = temporary_slice_make<Ast *>(rhs.count); slice_copy(&lhs, rs->vals); isize addressable_index = cast(isize)is_map; |