mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
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:
parent
4ce110e841
commit
8eb821722f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user