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:
1 parent
d0d4d93a6b
commit
2a9d8d9e36
44 files changed
+297
-297
No files matched your search
@@ -28,13 +28,13 @@ namespace Catch {
|
||||
TestedLeaf
|
||||
};
|
||||
|
||||
RunningSection( RunningSection* parent, const std::string& name )
|
||||
RunningSection( RunningSection* parent, std::string const& name )
|
||||
: m_state( Unknown ),
|
||||
m_parent( parent ),
|
||||
m_name( name )
|
||||
{}
|
||||
|
||||
RunningSection( const std::string& name )
|
||||
RunningSection( std::string const& name )
|
||||
: m_state( Root ),
|
||||
m_parent( NULL ),
|
||||
m_name( name )
|
||||
@@ -77,7 +77,7 @@ namespace Catch {
|
||||
return m_parent;
|
||||
}
|
||||
|
||||
RunningSection* findOrAddSubSection( const std::string& name, bool& changed ) {
|
||||
RunningSection* findOrAddSubSection( std::string const& name, bool& changed ) {
|
||||
for( SubSections::const_iterator it = m_subSections.begin();
|
||||
it != m_subSections.end();
|
||||
++it)
|
||||
|
||||
Reference in new issue
Block a user