X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0518029cecf127dc5e792bb3fcd6781d46c0e0b1..cc4d5638c66a409e421420ed7110917755a66788:/src/common/hash.cpp diff --git a/src/common/hash.cpp b/src/common/hash.cpp index 8333e1cdea..74389735c9 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: VZ at 25.02.00: type safe hashes with WX_DECLARE_HASH() // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -26,6 +25,7 @@ #ifndef WX_PRECOMP #include "wx/hash.h" + #include "wx/object.h" #endif wxHashTableBase_Node::wxHashTableBase_Node( long key, void* value, @@ -134,9 +134,7 @@ void wxHashTableBase::Destroy() { Clear(); - delete[] m_table; - - m_table = NULL; + wxDELETEA(m_table); m_size = 0; }