yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

configure_system: Use lambda template to group settings

This commit is contained in:
lat9nq 2023-07-19 13:45:16 -04:00
parent b55a763618
commit b54c3fba68
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ void ConfigureSystem::Setup(const ConfigurationShared::Builder& builder) {
std::map<u32, QWidget*> system_hold{}; std::map<u32, QWidget*> system_hold{};
std::forward_list<Settings::BasicSetting*> settings; std::forward_list<Settings::BasicSetting*> settings;
auto push = [&settings](std::forward_list<Settings::BasicSetting*>& list) { auto push = [&settings](auto& list) {
for (auto setting : list) { for (auto setting : list) {
settings.push_front(setting); settings.push_front(setting);
} }