2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-31 20:22:11 +00:00

Remove extraneous define of FIT_NO_CONSTEXPR_VOID for issue #113

This commit is contained in:
Paul
2016-03-16 12:29:12 -05:00
parent e87bbc3c78
commit f99f25896c
2 changed files with 1 additions and 2 deletions

View File

@@ -58,7 +58,6 @@
///
#define FIT_NO_CONSTEXPR_VOID 1
#ifndef FIT_NO_CONSTEXPR_VOID
#ifdef __clang__
#define FIT_NO_CONSTEXPR_VOID 0

View File

@@ -110,7 +110,7 @@ struct eval_helper<void>
{
int x;
template<class F, class... Ts>
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