Section no longer relies on copy-elision for correctness
- should address #293 - *may* address #271
This commit is contained in:
parent
a469d9bc0f
commit
23181eeef0
7 changed files with 36 additions and 29 deletions
|
@ -13,13 +13,10 @@
|
|||
namespace Catch {
|
||||
|
||||
struct SectionInfo {
|
||||
SectionInfo( std::string const& _name,
|
||||
std::string const& _description,
|
||||
SourceLineInfo const& _lineInfo )
|
||||
: name( _name ),
|
||||
description( _description ),
|
||||
lineInfo( _lineInfo )
|
||||
{}
|
||||
SectionInfo
|
||||
( SourceLineInfo const& _lineInfo,
|
||||
std::string const& _name,
|
||||
std::string const& _description = std::string() );
|
||||
|
||||
std::string name;
|
||||
std::string description;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue