Unconsting an iterator passed to erase

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4629 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-11-29 17:10:57 +00:00
parent 4ce110e841
commit 8eb821722f

View File

@ -105,7 +105,7 @@ void Init()
void Reset(bool _bHard)
{
TDeviceMap::const_iterator itr = g_DeviceMap.begin();
TDeviceMap::iterator itr = g_DeviceMap.begin();
while (itr != g_DeviceMap.end())
{
// Hardware should not be deleted unless it is a hard reset