Use 'contains' method
This commit is contained in:
1 parent
5af0ae25e6
commit
618b41a459
31 files changed
+46
-52
No files matched your search
@@ -34,7 +34,7 @@ PPCSymbolDB::~PPCSymbolDB() = default;
|
||||
Common::Symbol* PPCSymbolDB::AddFunction(const Core::CPUThreadGuard& guard, u32 start_addr)
|
||||
{
|
||||
// It's already in the list
|
||||
if (m_functions.find(start_addr) != m_functions.end())
|
||||
if (m_functions.contains(start_addr))
|
||||
return nullptr;
|
||||
|
||||
Common::Symbol symbol;
|
||||
|
||||
Reference in new issue
Block a user