Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2012-12-09 21:46:15 +0000
committerPhil Nash2012-12-09 21:46:15 +0000
commitf4c0a1848db323a673e4c816fd75a82e61754fb4 (patch)
tree4ea38911913a74a25b0d48431eace5a1d7e0e020 /include
parent51f05722094d450cdddf0d550d334ddb523856a4 (diff)
downloadcatch3-f4c0a1848db323a673e4c816fd75a82e61754fb4.tar.gz
console reporter is now a full replacement for the basic reporter, using the new streaming interface directly
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_console.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/reporters/catch_reporter_console.hpp b/include/reporters/catch_reporter_console.hpp
index 2b9b75fb..fabcc4f7 100644
--- a/include/reporters/catch_reporter_console.hpp
+++ b/include/reporters/catch_reporter_console.hpp
@@ -46,6 +46,8 @@ namespace Catch {
}
std::string makeSectionPath( ThreadedSectionInfo const * section, std::string const& delimiter ) {
std::string sectionPath = "'" + section->name + "'";
+
+ // !TBD: Do this without the assignment in the while as it causes warnings:
while( ( section = section->parent.get() ) )
sectionPath = "'" + section->name + "'" + delimiter + sectionPath;
return sectionPath;