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:
Phil Nash
2013-04-23 18:58:56 +01:00
parent d0d4d93a6b
commit 2a9d8d9e36
44 changed files with 297 additions and 297 deletions

View File

@@ -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)