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:
@@ -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 << "!";
|
||||
|
||||
Reference in New Issue
Block a user