mirror of https://github.com/AxioDL/tinyxml2.git
Remove unnecessary cast in XMLNode::Value()
This commit is contained in:
parent
d608c561e0
commit
96b4346660
|
@ -646,7 +646,7 @@ XMLNode::~XMLNode()
|
|||
const char* XMLNode::Value() const
|
||||
{
|
||||
if ( this->ToDocument() )
|
||||
return ( const char* )0;
|
||||
return 0;
|
||||
return _value.GetStr();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue