mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Fixed tests with string literal on lhs
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
Next:
|
||||
|
||||
Later:
|
||||
Finish command line parser (list as xml, specify FP tolerance)
|
||||
Finish command line parser (list as xml)
|
||||
Tags?
|
||||
Finish macros, listed here, later (just CHECK_NOFAIL now)
|
||||
*/
|
||||
|
@@ -546,6 +546,17 @@ public:
|
||||
return expr;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
Expression<const char*> operator->*
|
||||
(
|
||||
const char* operand
|
||||
)
|
||||
{
|
||||
Expression<const char*> expr( m_result, operand );
|
||||
|
||||
return expr;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template<typename T>
|
||||
PtrExpression<T> operator->*
|
||||
|
Reference in New Issue
Block a user