From 12bad3f815b36578ae6f047bd98bfc5bb2990b5f Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sun, 5 Feb 2023 20:48:24 +0100 Subject: [PATCH] Reflect update of collection types. --- day21.c3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day21.c3 b/day21.c3 index b72522b..1e1555a 100644 --- a/day21.c3 +++ b/day21.c3 @@ -39,7 +39,7 @@ fn void load_monkeys(MonkeyList* list, MonkeyId* root_index, MonkeyId *humn_inde defer catch(f.close()); NameMap map; map.init(); - defer map.destroy(); + defer map.free(); MonkeyId index = 0; while (!f.eof()) {