diff options
| author | Phil Nash | 2011-06-29 19:22:56 +0100 |
|---|---|---|
| committer | Phil Nash | 2011-06-29 19:22:56 +0100 |
| commit | 1adebefb50d33569d792daed16c541949358b7cd (patch) | |
| tree | a9e94e0bfab9fbc9296c7624d0847e743ce0176d /include/internal | |
| parent | b5fabcb26b3aa02bf6ca0946060f0e5976715b95 (diff) | |
| download | catch3-1adebefb50d33569d792daed16c541949358b7cd.tar.gz | |
Fixed tests with string literal on lhs
Diffstat (limited to 'include/internal')
| -rw-r--r-- | include/internal/catch_capture.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp index 705e4ff7..f9bb54fe 100644 --- a/include/internal/catch_capture.hpp +++ b/include/internal/catch_capture.hpp @@ -547,6 +547,17 @@ public: } /////////////////////////////////////////////////////////////////////////// + Expression<const char*> operator->* + ( + const char* operand + ) + { + Expression<const char*> expr( m_result, operand ); + + return expr; + } + + /////////////////////////////////////////////////////////////////////////// template<typename T> PtrExpression<T> operator->* ( |