X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/965784669a9655410c38e306f264738d71907d95..fa8dca8dd1ba0d6ee9b2c5919a3a944ecde68a50:/src/common/dynarray.cpp?ds=sidebyside diff --git a/src/common/dynarray.cpp b/src/common/dynarray.cpp index 5b4d11e9b9..a557970f6c 100644 --- a/src/common/dynarray.cpp +++ b/src/common/dynarray.cpp @@ -73,14 +73,7 @@ wxBaseArray::wxBaseArray(const wxBaseArray& src) // assignment operator wxBaseArray& wxBaseArray::operator=(const wxBaseArray& src) { -#if 0 wxDELETEA(m_pItems); -#else - if ( (m_pItems)) { - delete (m_pItems); - (m_pItems) = 0; - } -#endif m_nSize = // not src.m_nSize to save memory m_nCount = src.m_nCount;