aboutsummaryrefslogtreecommitdiff
path: root/core/thread
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-06-26 15:42:57 +0100
committergingerBill <bill@gingerbill.org>2023-06-26 15:42:57 +0100
commit3dec55f009da4293aca870d50f7b15668c4bba7c (patch)
tree5a17ea392dd5795831e5104c7c8c5e3496356940 /core/thread
parent00d60e28c2a3e3e3a2e8bf7617bd62c0f9b1aae8 (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.odin2
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)
}