catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
regenerated single_include
- Commit
98a21bce5da374b591ca7e8669adfcfbdd88eb12- Author
- Phil Nash ·
- Parents
5680fe423728
Changes
single_include/catch.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/single_include/catch.hpp b/single_include/catch.hpp index 19b0946b..89800f17 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -1530,7 +1530,7 @@ public: Expression ( MutableResultInfo& result, - const T& lhs + T lhs ) : m_result( result ), m_lhs( lhs ) @@ -1638,7 +1638,7 @@ public: private: MutableResultInfo& m_result; - const T& m_lhs; + T m_lhs; }; template<typename LhsT> @@ -1727,12 +1727,12 @@ public: /////////////////////////////////////////////////////////////////////////// template<typename T> - Expression<T> operator->* + Expression<const T&> operator->* ( const T & operand ) { - Expression<T> expr( m_result, operand ); + Expression<const T&> expr( m_result, operand ); return expr; }