summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2024-07-19 22:49:15 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2024-08-14 22:18:28 +0200
commit618b41a4593032a5c374069b37369e91ecf5db9e (patch)
treee61e041ee8bd78d6345f366b4a1f8032495df8c8 /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
parent5af0ae25e6ebeaec187950f579f722637546740f (diff)
Use 'contains' method
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
index c6ca41d64c..be1eb0a4b9 100644
--- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
@@ -728,7 +728,7 @@ void CodeViewWidget::AutoStep(CodeTrace::AutoStop option)
for (u32 i = 1; i <= 3; i++)
{
- if (results.mem_tracked.count(address + i))
+ if (results.mem_tracked.contains(address + i))
iter++;
else
break;