Restored description field in SectionInfo for now - but marked it deprecated
diff --git a/examples/210-Evt-EventListeners.cpp b/examples/210-Evt-EventListeners.cpp
index d1df6b7..7df93d7 100644
--- a/examples/210-Evt-EventListeners.cpp
+++ b/examples/210-Evt-EventListeners.cpp
@@ -187,8 +187,7 @@
void print( std::ostream& os, int const level, std::string const& title, Catch::SectionInfo const& info ) {
os << ws(level ) << title << ":\n"
- << ws(level+1) << "- name: " << info.name << "\n"
- << ws(level+1) << "- description: '" << info.description << "'\n";
+ << ws(level+1) << "- name: " << info.name << "\n";
print( os, level+1 , "- lineInfo", info.lineInfo );
}
diff --git a/include/internal/catch_section_info.h b/include/internal/catch_section_info.h
index 832ed7d..9cf792e 100644
--- a/include/internal/catch_section_info.h
+++ b/include/internal/catch_section_info.h
@@ -27,6 +27,7 @@
std::string const& ) : SectionInfo( _lineInfo, _name ) {}
std::string name;
+ std::string description; // !Deprecated: this will always be empty
SourceLineInfo lineInfo;
};