Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal
diff options
context:
space:
mode:
authorPhil Nash2011-06-29 19:22:56 +0100
committerPhil Nash2011-06-29 19:22:56 +0100
commit1adebefb50d33569d792daed16c541949358b7cd (patch)
treea9e94e0bfab9fbc9296c7624d0847e743ce0176d /include/internal
parentb5fabcb26b3aa02bf6ca0946060f0e5976715b95 (diff)
downloadcatch3-1adebefb50d33569d792daed16c541949358b7cd.tar.gz
Fixed tests with string literal on lhs
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/catch_capture.hpp11
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->*
(