|
@@ -739,7 +739,7 @@ XMLNode::~XMLNode()
|
|
|
|
|
|
|
|
const char* XMLNode::Value() const
|
|
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() )
|
|
if ( this->ToDocument() )
|
|
|
return 0;
|
|
return 0;
|
|
|
return _value.GetStr();
|
|
return _value.GetStr();
|