Inline and default LazyExpression's constructor

This commit is contained in:
Martin Hořeňovský committed 2020-05-10 20:20:59 +02:00
1 parent d5e08a4beb
commit 824ffe6525
2 files changed
+4 -8

No files matched your search

@@ -27,8 +27,10 @@ namespace Catch {
ITransientExpression const* m_transientExpression = nullptr;
bool m_isNegated;
public:
LazyExpression( bool isNegated );
LazyExpression( LazyExpression const& other );
LazyExpression( bool isNegated ):
m_isNegated(isNegated)
{}
LazyExpression(LazyExpression const& other) = default;
LazyExpression& operator = ( LazyExpression const& ) = delete;
explicit operator bool() const {