mirror of https://github.com/AxioDL/tinyxml2.git
Make comment more concise
This commit is contained in:
parent
75c8f40640
commit
caa72a641e
|
@ -739,7 +739,7 @@ XMLNode::~XMLNode()
|
|||
|
||||
const char* XMLNode::Value() const
|
||||
{
|
||||
// Catch an edge case: XMLDocuments don't have a a Value. Carefully return nullptr.
|
||||
// Edge case: XMLDocuments don't have a Value. Return null.
|
||||
if ( this->ToDocument() )
|
||||
return 0;
|
||||
return _value.GetStr();
|
||||
|
|
Loading…
Reference in New Issue