mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
CumulativeReporterBase doesn't use shared_ptrs for sectionStack
This commit is contained in:
parent
c673db7a4e
commit
bfe5553416
@ -57,7 +57,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
m_deepestSection = node.get();
|
||||
m_sectionStack.push_back( std::move(node) );
|
||||
m_sectionStack.push_back( node.get() );
|
||||
}
|
||||
|
||||
bool CumulativeReporterBase::assertionEnded(
|
||||
|
@ -80,7 +80,7 @@ namespace Catch {
|
||||
|
||||
std::shared_ptr<SectionNode> m_rootSection;
|
||||
SectionNode* m_deepestSection = nullptr;
|
||||
std::vector<std::shared_ptr<SectionNode>> m_sectionStack;
|
||||
std::vector<SectionNode*> m_sectionStack;
|
||||
};
|
||||
|
||||
} // end namespace Catch
|
||||
|
Loading…
Reference in New Issue
Block a user