mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-23 13:09:28 +00:00
Inline and default LazyExpression's constructor
This commit is contained in:
parent
d5e08a4beb
commit
824ffe6525
2 changed files with 4 additions and 8 deletions
|
@ -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 << "!";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue