From 7cb32b4b745e545f21b48b0232ef2978e2eb64e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 23 Mar 2006 11:47:21 +0000 Subject: [PATCH] Unconditional assert means fail. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/hash.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/hash.cpp b/src/common/hash.cpp index ebbc7fa58d..bc1a7583aa 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: hash.cpp +// Name: src/common/hash.cpp // Purpose: wxHashTable implementation // Author: Julian Smart // Modified by: VZ at 25.02.00: type safe hashes with WX_DECLARE_HASH() @@ -1036,7 +1036,7 @@ void wxHashTable::DoCopy( const wxHashTable& WXUNUSED(table) ) { Create( m_keyType, m_size ); - wxASSERT( false ); + wxFAIL; } void wxHashTable::DoDeleteContents( wxHashTableBase_Node* node )