From 4021d65f6401e9765e37f2cc1059ccd698fdfc98 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 15 Jul 2011 08:12:10 +0100 Subject: [PATCH] Regenerated single_include --- single_include/catch.hpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/single_include/catch.hpp b/single_include/catch.hpp index 3b487bb2..c905ec6f 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -1508,6 +1508,16 @@ private: return *this; } + /////////////////////////////////////////////////////////////////////////// + template + MutableResultInfo& captureExpression + ( + const T* lhs, + int rhs + ) + { + return captureExpression( lhs, reinterpret_cast( rhs ) ); + } }; template @@ -1712,7 +1722,7 @@ public: /////////////////////////////////////////////////////////////////////////// Expression operator->* ( - const char* operand + const char* const& operand ) { Expression expr( m_result, operand );