Small formatting change
And then we can merge
This commit is contained in:
		
							parent
							
								
									f3d889b430
								
							
						
					
					
						commit
						135bd480e0
					
				@ -2107,8 +2107,8 @@ class MutexBase {
 | 
			
		||||
// particular, the owner_ field (a pthread_t) is not explicitly initialized.
 | 
			
		||||
// This allows initialization to work whether pthread_t is a scalar or struct.
 | 
			
		||||
// The flag -Wmissing-field-initializers must not be specified for this to work.
 | 
			
		||||
#  define GTEST_DEFINE_STATIC_MUTEX_(mutex) \
 | 
			
		||||
     ::testing::internal::MutexBase mutex = { PTHREAD_MUTEX_INITIALIZER, false, 0 }
 | 
			
		||||
#define GTEST_DEFINE_STATIC_MUTEX_(mutex) \
 | 
			
		||||
  ::testing::internal::MutexBase mutex = {PTHREAD_MUTEX_INITIALIZER, false, 0}
 | 
			
		||||
 | 
			
		||||
// The Mutex class can only be used for mutexes created at runtime. It
 | 
			
		||||
// shares its API with MutexBase otherwise.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user