Patched issue where an assert before the first section can cause a set-fault (needs a better fix, though)

This commit is contained in:
Phil Nash committed 2013-03-04 15:06:31 +01:00
1 parent 767f1588dc
commit 90b2bfec3d
3 files changed
+1459 -3

No files matched your search

+1 -1
View File
@@ -279,7 +279,7 @@ namespace Catch {
if( !currentSectionInfo ) {
printHeader( unusedTestCaseInfo->name );
stream << std::endl;
unusedTestCaseInfo.reset();
// unusedTestCaseInfo.reset();
}
}
void lazyPrintSectionInfo() {