summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2014-02-13 21:10:27 +1300
committerMatthew Parlane <parlane@gmail.com>2014-02-13 21:10:27 +1300
commit06329e24531b69a4856bbe05a8c89c57d9346de6 (patch)
treed2c3cd6256b09ebdc04b8c913b21c2e56d30c2e1 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
parent88526be3b5cfc33436d4390935d7982c4795520a (diff)
parent404624bf0b0125e5a408021c616ee9b9e2dde382 (diff)
Merge pull request #65 from Tilka/nits
Small changes
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
index 4f8f71225c..be6d8e4c04 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
@@ -354,10 +354,10 @@ void CCodeWindow::NotifyMapLoaded()
//symbols->Show(false); // hide it for faster filling
symbols->Freeze(); // HyperIris: wx style fast filling
symbols->Clear();
- for (PPCSymbolDB::XFuncMap::iterator iter = g_symbolDB.GetIterator(); iter != g_symbolDB.End(); ++iter)
+ for (const auto& symbol : g_symbolDB.Symbols())
{
- int idx = symbols->Append(StrToWxStr(iter->second.name));
- symbols->SetClientData(idx, (void*)&iter->second);
+ int idx = symbols->Append(StrToWxStr(symbol.second.name));
+ symbols->SetClientData(idx, (void*)&symbol.second);
}
symbols->Thaw();
//symbols->Show(true);