From 7ed4fab7be1e5a4cc800ab023f4562caadee6c31 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 29 Jun 2001 09:13:34 +0000 Subject: [PATCH] fixed 2 year old bug in wxBaseArray::operator=() (who the hell is/was RO who introduced it?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dynarray.cpp | 7 ------- 1 file changed, 7 deletions(-) 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; -- 2.45.2