Googletest export
Remove mention of unused type ProtocolMessage. PiperOrigin-RevId: 239242706
This commit is contained in:
		
				
					committed by
					
						
						Gennadiy Civil
					
				
			
			
				
	
			
			
			
						parent
						
							a4b63e7efb
						
					
				
				
					commit
					f1883b1824
				
			@@ -80,7 +80,6 @@
 | 
			
		||||
// Stringifies its argument.
 | 
			
		||||
#define GTEST_STRINGIFY_(name) #name
 | 
			
		||||
 | 
			
		||||
class ProtocolMessage;
 | 
			
		||||
namespace proto2 { class Message; }
 | 
			
		||||
 | 
			
		||||
namespace testing {
 | 
			
		||||
@@ -890,12 +889,10 @@ struct RemoveConst<const T[N]> {
 | 
			
		||||
    GTEST_REMOVE_CONST_(GTEST_REMOVE_REFERENCE_(T))
 | 
			
		||||
 | 
			
		||||
// IsAProtocolMessage<T>::value is a compile-time bool constant that's
 | 
			
		||||
// true iff T is type ProtocolMessage, proto2::Message, or a subclass
 | 
			
		||||
// of those.
 | 
			
		||||
// true iff T is type proto2::Message or a subclass of it.
 | 
			
		||||
template <typename T>
 | 
			
		||||
struct IsAProtocolMessage
 | 
			
		||||
    : public bool_constant<
 | 
			
		||||
  std::is_convertible<const T*, const ::ProtocolMessage*>::value ||
 | 
			
		||||
  std::is_convertible<const T*, const ::proto2::Message*>::value> {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user