Browse Source

Update ring.odin

Someone missed the T type here ;)
Platin21 5 years ago
parent
commit
3946f357e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/container/ring.odin

+ 1 - 1
core/container/ring.odin

@@ -2,7 +2,7 @@ package container
 
 
 
 
 Ring :: struct(T: typeid) {
 Ring :: struct(T: typeid) {
-	next, prev: ^Ring,
+	next, prev: ^Ring(T),
 	value: T,
 	value: T,
 }
 }