diff options
| author | Phil Nash | 2017-12-05 16:18:53 +0000 |
|---|---|---|
| committer | Phil Nash | 2017-12-05 16:23:10 +0000 |
| commit | 533cdc6bc137381f8a358e15d97289917c2df6c5 (patch) | |
| tree | 65a8530a9d0dcdeebd838f99323e7196a4fbae56 /include/internal/catch_assertionhandler.cpp | |
| parent | 51e281a6842ae4b38120d78154f049275a351894 (diff) | |
| download | catch3-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.cpp | 2 |
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() { |