Added "explicit" as per compiler suggestion
This commit is contained in:
		
							parent
							
								
									e5095758ba
								
							
						
					
					
						commit
						9fdd6ccd92
					
				@ -65,7 +65,7 @@ using testing::internal::GetCapturedStdout;
 | 
			
		||||
// Class without default constructor.
 | 
			
		||||
class NotDefaultConstructible {
 | 
			
		||||
 public:
 | 
			
		||||
  NotDefaultConstructible(int) {}
 | 
			
		||||
  explicit NotDefaultConstructible(int) {}
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// Defines some mock classes needed by the tests.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user