Kaynağa Gözat

Remove unnecessary cast in XMLNode::Value()

Sarat Addepalli 11 yıl önce
ebeveyn
işleme
96b4346660
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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();
 }