mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 09:22:05 +00:00
Improve iterator usage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5528 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0d75190af9
commit
ceabf90bda
21 changed files with 1132 additions and 1153 deletions
|
@ -155,7 +155,7 @@ void CPatchAddEdit::AddRemoveEntry(wxCommandEvent& event)
|
|||
SaveEntryData(itCurEntry);
|
||||
|
||||
PatchEngine::PatchEntry peEmptyEntry(PatchEngine::PATCH_8BIT, 0x00000000, 0x00000000);
|
||||
itCurEntry++;
|
||||
++itCurEntry;
|
||||
currentItem++;
|
||||
itCurEntry = tempEntries.insert(itCurEntry, peEmptyEntry);
|
||||
|
||||
|
@ -172,7 +172,7 @@ void CPatchAddEdit::AddRemoveEntry(wxCommandEvent& event)
|
|||
|
||||
if (itCurEntry != tempEntries.begin())
|
||||
{
|
||||
itCurEntry--;
|
||||
--itCurEntry;
|
||||
currentItem--;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue