Function ~Capturer

Synopsis

#include <include/internal/catch_message.h>

~Capturer()

Description

No description yet.

Source

Lines 127-133 in include/internal/catch_message.cpp. Line 81 in include/internal/catch_message.h.

Capturer::~Capturer() {
    if ( !uncaught_exceptions() ){
        assert( m_captured == m_messages.size() );
        for( size_t i = 0; i < m_captured; ++i  )
            m_resultCapture.popScopedMessage( m_messages[i] );
    }
}





Add Discussion as Guest

Log in