Open fluber opened 5 years ago
if ( x) delete ( reinterpret_cast<T*>(x)); x = NULL;
should
if ( x) { delete ( reinterpret_cast<T*>(x)); x = NULL; }
This isn't a bug, the latter assignment is just redundant.
if ( x) delete ( reinterpret_cast<T*>(x)); x = NULL;
should
if ( x) { delete ( reinterpret_cast<T*>(x)); x = NULL; }