Cherry-picked "evaluate" refactoring from dev-modernize branch

- fixed up NULL comparisons to allow for NULL being a long
- should address #981
This commit is contained in:
Phil Nash
2017-08-06 00:13:00 +01:00
committed by Martin Hořeňovský
parent b07a2bdf87
commit b7bd52cc98
2 changed files with 57 additions and 133 deletions

View File

@@ -111,7 +111,7 @@ public:
void endExpression() const {
m_rb
.setResultType( Internal::compare<Op>( m_lhs, m_rhs ) )
.setResultType( Internal::Evaluator<LhsT, RhsT, Op>::evaluate( m_lhs, m_rhs ) )
.endExpression( *this );
}