Use 'contains' method

This commit is contained in:
Dr. Dystopia committed 2024-08-14 22:18:28 +02:00
1 parent 5af0ae25e6
commit 618b41a459
31 files changed
+46 -52

No files matched your search

+1 -1
View File
@@ -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;