Skip to content

Commit

Permalink
Fix shrink_to_fit for dict
Browse files Browse the repository at this point in the history
  • Loading branch information
P-p-H-d committed May 3, 2024
1 parent 5674738 commit ec11230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m-dict.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ec11230

Please sign in to comment.