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

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_assertionhandler.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-12-05 16:18:53 +0000
committerPhil Nash2017-12-05 16:23:10 +0000
commit533cdc6bc137381f8a358e15d97289917c2df6c5 (patch)
tree65a8530a9d0dcdeebd838f99323e7196a4fbae56 /include/internal/catch_assertionhandler.cpp
parent51e281a6842ae4b38120d78154f049275a351894 (diff)
downloadcatch3-533cdc6bc137381f8a358e15d97289917c2df6c5.tar.gz
Revirtualised IResultCapture methods
Didn't really impact runtime anyway, but will need to use interface for threading support.
Diffstat (limited to 'include/internal/catch_assertionhandler.cpp')
-rw-r--r--include/internal/catch_assertionhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_assertionhandler.cpp b/include/internal/catch_assertionhandler.cpp
index d7311e9a..4d74dc9c 100644
--- a/include/internal/catch_assertionhandler.cpp
+++ b/include/internal/catch_assertionhandler.cpp
@@ -56,7 +56,7 @@ namespace Catch {
StringRef capturedExpression,
ResultDisposition::Flags resultDisposition )
: m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition },
- m_resultCapture( static_cast<RunContext&>( getResultCapture() ) )
+ m_resultCapture( getResultCapture() )
{}
AssertionHandler::~AssertionHandler() {