mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-18 01:35:32 +02:00
Changed "const X ref"s to "X const ref"s
- Brought older code up to current convention (with the help of a Python script)
This commit is contained in:
@@ -18,9 +18,9 @@ namespace Catch {
|
||||
|
||||
class Section {
|
||||
public:
|
||||
Section( const SourceLineInfo& lineInfo,
|
||||
const std::string& name,
|
||||
const std::string& description = "" )
|
||||
Section( SourceLineInfo const& lineInfo,
|
||||
std::string const& name,
|
||||
std::string const& description = "" )
|
||||
: m_info( name, description, lineInfo ),
|
||||
m_sectionIncluded( getCurrentContext().getResultCapture().sectionStarted( m_info, m_assertions ) )
|
||||
{}
|
||||
|
Reference in New Issue
Block a user