From 53380632a1d5a5582ab2d7ae69715655d0f46986 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 12 Sep 2023 11:44:54 +0100 Subject: [PATCH] Swap order of `prev` and `next` --- core/container/intrusive/list/intrusive_list.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/container/intrusive/list/intrusive_list.odin b/core/container/intrusive/list/intrusive_list.odin index 88e21edc5..d2df4475b 100644 --- a/core/container/intrusive/list/intrusive_list.odin +++ b/core/container/intrusive/list/intrusive_list.odin @@ -20,7 +20,7 @@ List :: struct { Node :: struct { - next, prev: ^Node, + prev, next: ^Node, } push_front :: proc(list: ^List, node: ^Node) {