mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
vector::erase needs a non-const iterator.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7243 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
832df18c0f
commit
7c959d9655
@ -88,7 +88,7 @@ void BreakPoints::Add(u32 em_address, bool temp)
|
|||||||
|
|
||||||
void BreakPoints::Remove(u32 _iAddress)
|
void BreakPoints::Remove(u32 _iAddress)
|
||||||
{
|
{
|
||||||
for (TBreakPoints::const_iterator i = m_BreakPoints.begin(); i != m_BreakPoints.end(); ++i)
|
for (TBreakPoints::iterator i = m_BreakPoints.begin(); i != m_BreakPoints.end(); ++i)
|
||||||
{
|
{
|
||||||
if (i->iAddress == _iAddress)
|
if (i->iAddress == _iAddress)
|
||||||
{
|
{
|
||||||
@ -145,7 +145,7 @@ void MemChecks::Add(const TMemCheck& _rMemoryCheck)
|
|||||||
|
|
||||||
void MemChecks::Remove(u32 _Address)
|
void MemChecks::Remove(u32 _Address)
|
||||||
{
|
{
|
||||||
for (TMemChecks::const_iterator i = m_MemChecks.begin(); i != m_MemChecks.end(); ++i)
|
for (TMemChecks::iterator i = m_MemChecks.begin(); i != m_MemChecks.end(); ++i)
|
||||||
{
|
{
|
||||||
if (i->StartAddress == _Address)
|
if (i->StartAddress == _Address)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user