Remove a contract from _clear since it has not to be true.

Add const to a proto.
This commit is contained in:
Patrick Pelissier committed 2017-07-06 10:19:08 +02:00
1 parent 5fae797e41
commit c3114c439b
1 file changed
+1 -2
+1 -2
View File
@@ -139,7 +139,6 @@
M_GET_FREE oplist(v->ptr); \
v->alloc = 0; \
v->ptr = NULL; \
ARRAYI_CONTRACT(v); \
} \
\
static inline void \
@@ -569,7 +568,7 @@
} \
\
static inline type * \
M_C3(array_, name, _ref)(array_it_t it) \
M_C3(array_, name, _ref)(const array_it_t it) \
{ \
assert(it != NULL); \
return M_C3(array_, name, _get)(it->array, it->index); \