From dee40608d7d38dbd049b6202c8c022ed6628af1d Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 4 Mar 2017 18:59:33 +0100 Subject: [PATCH] Fix bug in previous commit --- m-algo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m-algo.h b/m-algo.h index 51e7eac2..716e07d2 100644 --- a/m-algo.h +++ b/m-algo.h @@ -103,8 +103,10 @@ for M_EACH(item, l, cont_oplist) { \ if (initDone) \ f(dest, *item); \ - else \ + else { \ M_GET_SET type_oplist (dest, *item); \ + initDone = true; \ + } \ } \ } \ \