X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2441fb445a47c1c985a578a030b495ee906e565d..7b504551c292ecb4296693983161ac5ad03745f6:/src/common/hash.cpp diff --git a/src/common/hash.cpp b/src/common/hash.cpp index c9a0c31aa0..ebbc7fa58d 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "hash.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -288,7 +284,7 @@ void wxStringHashTable::Put(long key, const wxString& value) wxString wxStringHashTable::Get(long key, bool *wasFound) const { - wxCHECK_MSG( m_hashSize, _T(""), _T("must call Create() first") ); + wxCHECK_MSG( m_hashSize, wxEmptyString, _T("must call Create() first") ); size_t slot = (size_t)abs((int)(key % (long)m_hashSize)); @@ -311,7 +307,7 @@ wxString wxStringHashTable::Get(long key, bool *wasFound) const if ( wasFound ) *wasFound = false; - return _T(""); + return wxEmptyString; } bool wxStringHashTable::Delete(long key) const