Modernize std::reverse with ranges

This commit is contained in:
mitaclaw
2024-10-10 00:53:48 -07:00
parent 9bd1dae41d
commit 78440ca335
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -660,7 +660,7 @@ bool PopulateConfig(GLContext* m_main_gl_context)
}
g_Config.backend_info.AAModes.push_back(1);
// The UI wants ascending order
std::reverse(g_Config.backend_info.AAModes.begin(), g_Config.backend_info.AAModes.end());
std::ranges::reverse(g_Config.backend_info.AAModes);
}
}
else