eolian-cxx: Fix conversion to bool in clang
This commit is contained in:
parent
33bb4583b8
commit
136d0d684b
|
@ -57,7 +57,7 @@ struct attribute_conditional_terminal
|
|||
namespace type_traits {
|
||||
template <typename F, typename G>
|
||||
struct attributes_needed<functional_attribute_conditional_generator<F, G>>
|
||||
: std::conditional<attributes_needed<G>::value
|
||||
: std::conditional<(attributes_needed<G>::value >= 1)
|
||||
, attributes_needed<G>
|
||||
, std::integral_constant<int, 1>>::type {};
|
||||
template <typename F>
|
||||
|
|
Loading…
Reference in New Issue