Merge pull request #1560 from gennadiycivil/master
Upstream cl/192179348
This commit is contained in:
		
						commit
						6979a13236
					
				@ -4140,7 +4140,8 @@ class VariantMatcher {
 | 
			
		||||
 private:
 | 
			
		||||
  static std::string GetTypeName() {
 | 
			
		||||
#if GTEST_HAS_RTTI
 | 
			
		||||
    return internal::GetTypeName<T>();
 | 
			
		||||
    GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(
 | 
			
		||||
        return internal::GetTypeName<T>());
 | 
			
		||||
#endif
 | 
			
		||||
    return "the element type";
 | 
			
		||||
  }
 | 
			
		||||
@ -4200,7 +4201,8 @@ class AnyCastMatcher {
 | 
			
		||||
 private:
 | 
			
		||||
  static std::string GetTypeName() {
 | 
			
		||||
#if GTEST_HAS_RTTI
 | 
			
		||||
    return internal::GetTypeName<T>();
 | 
			
		||||
    GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(
 | 
			
		||||
        return internal::GetTypeName<T>());
 | 
			
		||||
#endif
 | 
			
		||||
    return "the element type";
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user