summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno da Silva Belo <brunodasilvabelo@gmail.com>2019-09-26 18:48:20 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-26 18:53:23 -0300
commit7ba4f00f57e117d05234d36568602ad73659069b (patch)
tree228272ebf052f81b789541e78065e392ca6e9f5c
parent68b1cfe5d67f8a2d91f908754c543c1767beca1e (diff)
eolian_cxx: Possible infinite loop, if called.
Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10200
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index d9c50e1df3..81f40d3ba5 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -635,7 +635,7 @@ struct expression_def
635 } 635 }
636 friend inline bool operator!=(expression_def const& lhs, expression_def const& rhs) 636 friend inline bool operator!=(expression_def const& lhs, expression_def const& rhs)
637 { 637 {
638 return lhs != rhs; 638 return !(lhs == rhs);
639 } 639 }
640 640
641 expression_def(Eolian_Expression const* expression) : value(::eolian_expression_eval(expression, EOLIAN_MASK_ALL)) 641 expression_def(Eolian_Expression const* expression) : value(::eolian_expression_eval(expression, EOLIAN_MASK_ALL))