From ec11230b5ecf71f12a3f2f4dd1693f222e8fe18a Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 3 May 2024 19:16:51 +0200 Subject: [PATCH] Fix shrink_to_fit for dict --- m-dict.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-dict.h b/m-dict.h index 1250b788..bb152469 100644 --- a/m-dict.h +++ b/m-dict.h @@ -950,7 +950,7 @@ ARRAY_DEF(m_array_index, m_indexhash_t, M_POD_OPLIST) /* Perform a shrink to fit: copy everything to a new dict properly, and move it back */ \ dict_t tmp; \ M_F(name, _init_set)(tmp, dict); \ - M_F(name, _init_move)(dict, tmp); \ + M_F(name, _move)(dict, tmp); \ return; \ } \ /* Get the size which will allow to fit this capacity \