Sfoglia il codice sorgente

- Removed lvalue const-cast.

MelvMay-GG 12 anni fa
parent
commit
101bf8e696
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      engine/source/persistence/taml/tamlCustom.h

+ 0 - 1
engine/source/persistence/taml/tamlCustom.h

@@ -524,7 +524,6 @@ public:
         if ( deleteIfNotType && pTypeCast == NULL )
         {
             mpProxyObject->deleteObject();
-            const_cast<SimObject*>(mpProxyObject) = NULL;
             return NULL;
         }