diff options
| author | gingerBill <bill@gingerbill.org> | 2023-06-26 15:42:57 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-06-26 15:42:57 +0100 |
| commit | 3dec55f009da4293aca870d50f7b15668c4bba7c (patch) | |
| tree | 5a17ea392dd5795831e5104c7c8c5e3496356940 /core/thread | |
| parent | 00d60e28c2a3e3e3a2e8bf7617bd62c0f9b1aae8 (diff) | |
Replace `x in &y` Use `&v in y` syntax through core & vendor for `switch`/`for` statements
Diffstat (limited to 'core/thread')
| -rw-r--r-- | core/thread/thread_pool.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/thread/thread_pool.odin b/core/thread/thread_pool.odin index 820de8ad4..1a4119e5f 100644 --- a/core/thread/thread_pool.odin +++ b/core/thread/thread_pool.odin @@ -81,7 +81,7 @@ pool_destroy :: proc(pool: ^Pool) { delete(pool.tasks) delete(pool.tasks_done) - for t in &pool.threads { + for &t in pool.threads { destroy(t) } |