Remove use of .no_copy

This commit is contained in:
gingerBill
2025-07-30 23:19:14 +01:00
parent 6a10cfdc30
commit 9b8223dd69
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ wait_group_add :: proc "contextless" (wg: ^Wait_Group, delta: int) {
guard(&wg.mutex)
atomic_add(&wg.counter, delta)
switch counter := atomic_load(&wg.counter); counter {
switch counter := atomic_load(&wg.counter); {
case counter < 0:
panic_contextless("sync.Wait_Group negative counter")
case wg.counter == 0: