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
This commit is contained in:
Bruno da Silva Belo 2019-09-26 18:48:20 -03:00 committed by Lauro Moura
parent 68b1cfe5d6
commit 7ba4f00f57
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ struct expression_def
}
friend inline bool operator!=(expression_def const& lhs, expression_def const& rhs)
{
return lhs != rhs;
return !(lhs == rhs);
}
expression_def(Eolian_Expression const* expression) : value(::eolian_expression_eval(expression, EOLIAN_MASK_ALL))