summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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))