2
0
mirror of https://github.com/catchorg/Catch2 synced 2026-02-25 04:52:10 +00:00

Inline and default LazyExpression's constructor

This commit is contained in:
Martin Hořeňovský
2020-05-10 18:41:14 +02:00
parent d5e08a4beb
commit 824ffe6525
2 changed files with 4 additions and 8 deletions

View File

@@ -26,12 +26,6 @@ namespace Catch {
}
}
LazyExpression::LazyExpression( bool isNegated )
: m_isNegated( isNegated )
{}
LazyExpression::LazyExpression( LazyExpression const& other ) : m_isNegated( other.m_isNegated ) {}
auto operator << ( std::ostream& os, LazyExpression const& lazyExpr ) -> std::ostream& {
if( lazyExpr.m_isNegated )
os << "!";