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:
@@ -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 &&
|
||||
|
Reference in New Issue
Block a user