summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-15 17:47:03 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-15 17:49:56 -0300
commit136d0d684bf771b849fdb014232244a64f3d01a9 (patch)
treeda5f7d76b01534d4990c385e7ec44fa3011011f6 /src/lib/eolian_cxx
parent33bb4583b86408450cbb2be6efb7b7d63f11b11e (diff)
eolian-cxx: Fix conversion to bool in clang
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/attribute_conditional.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/attribute_conditional.hpp b/src/lib/eolian_cxx/grammar/attribute_conditional.hpp
index 886b1edb35..2803f9fc48 100644
--- a/src/lib/eolian_cxx/grammar/attribute_conditional.hpp
+++ b/src/lib/eolian_cxx/grammar/attribute_conditional.hpp
@@ -57,7 +57,7 @@ struct attribute_conditional_terminal
57namespace type_traits { 57namespace type_traits {
58template <typename F, typename G> 58template <typename F, typename G>
59struct attributes_needed<functional_attribute_conditional_generator<F, G>> 59struct attributes_needed<functional_attribute_conditional_generator<F, G>>
60 : std::conditional<attributes_needed<G>::value 60 : std::conditional<(attributes_needed<G>::value >= 1)
61 , attributes_needed<G> 61 , attributes_needed<G>
62 , std::integral_constant<int, 1>>::type {}; 62 , std::integral_constant<int, 1>>::type {};
63template <typename F> 63template <typename F>