mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-09-03 18:59:01 +00:00
configure_system: Use lambda template to group settings
This commit is contained in:
parent
b55a763618
commit
b54c3fba68
@ -96,7 +96,7 @@ void ConfigureSystem::Setup(const ConfigurationShared::Builder& builder) {
|
||||
std::map<u32, QWidget*> system_hold{};
|
||||
|
||||
std::forward_list<Settings::BasicSetting*> settings;
|
||||
auto push = [&settings](std::forward_list<Settings::BasicSetting*>& list) {
|
||||
auto push = [&settings](auto& list) {
|
||||
for (auto setting : list) {
|
||||
settings.push_front(setting);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user