mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #466 from Dmitry-Me/makeCommentMoreConcise
Make comment more concise
This commit is contained in:
commit
0bb5901961
|
@ -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