mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Added braces to emphasise the return logic
This commit is contained in:
		| @@ -64,9 +64,10 @@ namespace Catch { | ||||
|  | ||||
|             bool matches( TestCaseInfo const& testCase ) const { | ||||
|                 // All patterns in a filter must match for the filter to be a match | ||||
|                 for( std::vector<Ptr<Pattern> >::const_iterator it = m_patterns.begin(), itEnd = m_patterns.end(); it != itEnd; ++it ) | ||||
|                 for( std::vector<Ptr<Pattern> >::const_iterator it = m_patterns.begin(), itEnd = m_patterns.end(); it != itEnd; ++it ) { | ||||
|                     if( !(*it)->matches( testCase ) ) | ||||
|                         return false; | ||||
|                 } | ||||
|                 return true; | ||||
|             } | ||||
|         }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash