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:
@@ -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