Browse Source

Remove unnecessary cast in XMLNode::Value()

Sarat Addepalli 10 năm trước cách đây
mục cha
commit
96b4346660
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

@@ -646,7 +646,7 @@ XMLNode::~XMLNode()
 const char* XMLNode::Value() const 
 {
     if ( this->ToDocument() )
-        return ( const char* )0;
+        return 0;
     return _value.GetStr();
 }