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:
@@ -58,7 +58,6 @@
|
||||
///
|
||||
|
||||
|
||||
#define FIT_NO_CONSTEXPR_VOID 1
|
||||
#ifndef FIT_NO_CONSTEXPR_VOID
|
||||
#ifdef __clang__
|
||||
#define FIT_NO_CONSTEXPR_VOID 0
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user