Revirtualised IResultCapture methods

Didn't really impact runtime anyway, but will need to use interface for threading support.
This commit is contained in:
Phil Nash committed 2017-12-05 16:23:10 +00:00
1 parent 51e281a684
commit 533cdc6bc1
4 files changed
+57 -29

No files matched your search

+1 -1
View File
@@ -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() {