Revert backport of new evaluate layer to fix C++98 compilation

The backport fixed some bugs (ie #981), but caused strict C++98
(and MSVC 9) compilers to fail. This means that we will
reintroduce some issues but get back compatibility with obsolete
compilers. People using newer ones can keep using Catch2.

This reverts commit b6e7c9bd7a.
This reverts commit b7bd52cc98.

Should fix #1103
This commit is contained in:
Martin Hořeňovský committed 2017-12-07 20:02:47 +01:00
1 parent 84e8b696b1
commit 07b9bda1d2
2 files changed
+132 -59

No files matched your search

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