Fix redundant redeclaration warning
Fixes #4200 PiperOrigin-RevId: 520017094 Change-Id: Id707a1c0489edde083771ccd412d7035612474dc
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							13b1900717
						
					
				
				
					commit
					3656c2713e
				
			@@ -465,8 +465,10 @@ struct Function<R(Args...)> {
 | 
				
			|||||||
  using MakeResultIgnoredValue = IgnoredValue(Args...);
 | 
					  using MakeResultIgnoredValue = IgnoredValue(Args...);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef GTEST_INTERNAL_NEED_REDUNDANT_CONSTEXPR_DECL
 | 
				
			||||||
template <typename R, typename... Args>
 | 
					template <typename R, typename... Args>
 | 
				
			||||||
constexpr size_t Function<R(Args...)>::ArgumentCount;
 | 
					constexpr size_t Function<R(Args...)>::ArgumentCount;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Workaround for MSVC error C2039: 'type': is not a member of 'std'
 | 
					// Workaround for MSVC error C2039: 'type': is not a member of 'std'
 | 
				
			||||||
// when std::tuple_element is used.
 | 
					// when std::tuple_element is used.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user