Converted a load of spelt out iterators to auto

This commit is contained in:
Phil Nash committed 2017-07-18 08:08:17 +01:00
1 parent 7ccf11da29
commit 01a21f67f7
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ namespace TestCaseTracking {
}
virtual ITrackerPtr findChild( NameAndLocation const& nameAndLocation ) override {
Children::const_iterator it = std::find_if( m_children.begin(), m_children.end(), TrackerHasName( nameAndLocation ) );
auto it = std::find_if( m_children.begin(), m_children.end(), TrackerHasName( nameAndLocation ) );
return( it != m_children.end() )
? *it
: nullptr;