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 @@ -1727,12 +1727,12 @@ public: /////////////////////////////////////////////////////////////////////////// template - Expression operator->* + Expression operator->* ( const T & operand ) { - Expression expr( m_result, operand ); + Expression expr( m_result, operand ); return expr; }