mirror of
				https://github.com/AxioDL/tinyxml2.git
				synced 2025-10-27 12:20:25 +00:00 
			
		
		
		
	Pointer assertion
This commit is contained in:
		
							parent
							
								
									395ea09f83
								
							
						
					
					
						commit
						ba68a3aea6
					
				| @ -1133,6 +1133,7 @@ XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const | |||||||
| 
 | 
 | ||||||
| bool XMLText::ShallowEqual( const XMLNode* compare ) const | bool XMLText::ShallowEqual( const XMLNode* compare ) const | ||||||
| { | { | ||||||
|  |     TIXMLASSERT( compare ); | ||||||
|     const XMLText* text = compare->ToText(); |     const XMLText* text = compare->ToText(); | ||||||
|     return ( text && XMLUtil::StringEqual( text->Value(), Value() ) ); |     return ( text && XMLUtil::StringEqual( text->Value(), Value() ) ); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user