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