diff --git a/examples/210-Evt-EventListeners.cpp b/examples/210-Evt-EventListeners.cpp index d1df6b7b..7df93d71 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:: 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 832ed7d9..9cf792e8 100644 --- a/include/internal/catch_section_info.h +++ b/include/internal/catch_section_info.h @@ -27,6 +27,7 @@ namespace Catch { std::string const& ) : SectionInfo( _lineInfo, _name ) {} std::string name; + std::string description; // !Deprecated: this will always be empty SourceLineInfo lineInfo; };