Use 'contains' method

This commit is contained in:
Dr. Dystopia
2024-07-19 22:49:15 +02:00
parent 5af0ae25e6
commit 618b41a459
31 changed files with 46 additions and 52 deletions

View File

@ -197,7 +197,7 @@ void GraphicsModManager::Load(const GraphicsModGroupConfig& config)
{
for (const GraphicsTargetGroupConfig& group : mod.m_groups)
{
if (m_groups.find(group.m_name) != m_groups.end())
if (m_groups.contains(group.m_name))
{
WARN_LOG_FMT(
VIDEO,