ResultCapture -> RunContext

This commit is contained in:
Phil Nash committed 2015-11-19 17:45:56 +00:00
1 parent b77b45a390
commit 73968f29a5
10 files changed
+24 -24

No files matched your search

+2 -2
View File
@@ -31,14 +31,14 @@ namespace Catch {
: m_info( builder.m_info )
{
m_info.message = builder.m_stream.str();
getResultCapture().pushScopedMessage( m_info );
getCurrentRunContext().pushScopedMessage( m_info );
}
ScopedMessage::ScopedMessage( ScopedMessage const& other )
: m_info( other.m_info )
{}
ScopedMessage::~ScopedMessage() {
getResultCapture().popScopedMessage( m_info );
getCurrentRunContext().popScopedMessage( m_info );
}