From e8781e28603a9ba5fe3e9d1888209a3108098a26 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 7 Jul 2017 23:03:43 +0200 Subject: [PATCH] Add new possible const due to const added to array functions. --- m-dict.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m-dict.h b/m-dict.h index 868411a3..8d6c6096 100644 --- a/m-dict.h +++ b/m-dict.h @@ -338,7 +338,7 @@ } \ \ static inline void \ - M_C3(dict_, name, _it)(dict_it_t it, dict_t d) \ + M_C3(dict_, name, _it)(dict_it_t it, const dict_t d) \ { \ DICTI_CONTRACT(name, d); \ M_C3(array_list_dict_pair_, name, _it)(it->array_it, d->table); \ @@ -464,7 +464,7 @@ \ M_IF_METHOD_BOTH(OUT_STR, key_oplist, value_oplist)( \ static inline void \ - M_C3(dict_, name, _out_str)(FILE *file, dict_t dict) \ + M_C3(dict_, name, _out_str)(FILE *file, const dict_t dict) \ { \ assert (file != NULL); \ DICTI_CONTRACT(name, dict); \