From f99f25896ce6575227a6ccbd8d170a9bccf67dfd Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 16 Mar 2016 12:29:12 -0500 Subject: [PATCH] Remove extraneous define of FIT_NO_CONSTEXPR_VOID for issue #113 --- include/fit/always.hpp | 1 - include/fit/apply_eval.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/fit/always.hpp b/include/fit/always.hpp index 1aa2b03..7254497 100644 --- a/include/fit/always.hpp +++ b/include/fit/always.hpp @@ -58,7 +58,6 @@ /// -#define FIT_NO_CONSTEXPR_VOID 1 #ifndef FIT_NO_CONSTEXPR_VOID #ifdef __clang__ #define FIT_NO_CONSTEXPR_VOID 0 diff --git a/include/fit/apply_eval.hpp b/include/fit/apply_eval.hpp index 4f58d3a..334f8ce 100644 --- a/include/fit/apply_eval.hpp +++ b/include/fit/apply_eval.hpp @@ -110,7 +110,7 @@ struct eval_helper { int x; template - constexpr eval_helper(const F& f, Ts&&... xs) : x(apply(f, FIT_FORWARD(Ts)(xs)...), 0) + constexpr eval_helper(const F& f, Ts&&... xs) : x((apply(f, FIT_FORWARD(Ts)(xs)...), 0)) {} }; #endif