MCPcopy Create free account
hub / github.com/catchorg/Catch2 / ScopedMessage

Method ScopedMessage

extras/catch_amalgamated.cpp:1007–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005
1006
1007 ScopedMessage::ScopedMessage( MessageBuilder&& builder ):
1008 m_messageId( builder.m_info.sequence ) {
1009 MessageInfo info( CATCH_MOVE( builder.m_info ) );
1010 info.message = builder.m_stream.str();
1011 Detail::pushScopedMessage( CATCH_MOVE( info ) );
1012 }
1013
1014 ScopedMessage::ScopedMessage( ScopedMessage&& old ) noexcept:
1015 m_messageId( old.m_messageId ) {

Callers

nothing calls this directly

Calls 2

pushScopedMessageFunction · 0.70
strMethod · 0.45

Tested by

no test coverage detected