From c531f805b0c1c2dc8dcde6188691895c5a872ba1 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 15 May 2020 14:31:47 +0200 Subject: [PATCH] Define _reduce only if SET method is properly set --- m-algo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m-algo.h b/m-algo.h index 1f30d3b3..0cd6c033 100644 --- a/m-algo.h +++ b/m-algo.h @@ -703,6 +703,7 @@ } \ , /* END PUSH_MOVE */), /* END INIT */ ) \ \ + M_IF_METHOD(SET, type_oplist)( \ static inline void \ M_C(name, _reduce) (type_t *dest, container_t const l, \ M_C(name, _transform_cb_t) func) \ @@ -717,6 +718,7 @@ } \ } \ } \ + , /* END SET */) \ \ M_IF_METHOD(INIT, type_oplist)( \ static inline \