Fixed bug introduced in fs_zip.cpp when replacing wxHashTableLong

with wxHashMap.
  Made wxHashMap constructor explicit to prevent similar errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-08-29 20:10:32 +00:00
parent 584e607406
commit d8771ac734
4 changed files with 9 additions and 7 deletions

View File

@@ -208,7 +208,7 @@ wxString wxZipFSHandler::DoFind()
wxLongToLongHashMap::iterator it = m_DirsFound->find(key);
if (it == m_DirsFound->end())
{
m_DirsFound[key] = 1;
(*m_DirsFound)[key] = 1;
filename = dir.AfterLast(wxT('/'));
dir = dir.BeforeLast(wxT('/'));
if (!filename.IsEmpty() && m_BaseDir == dir &&