From b54c3fba6832ed5984d803f264ffdb7c0ded3cf6 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Wed, 19 Jul 2023 13:45:16 -0400 Subject: [PATCH] configure_system: Use lambda template to group settings --- src/yuzu/configuration/configure_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp index d76630bcb..7884886c3 100644 --- a/src/yuzu/configuration/configure_system.cpp +++ b/src/yuzu/configuration/configure_system.cpp @@ -96,7 +96,7 @@ void ConfigureSystem::Setup(const ConfigurationShared::Builder& builder) { std::map system_hold{}; std::forward_list settings; - auto push = [&settings](std::forward_list& list) { + auto push = [&settings](auto& list) { for (auto setting : list) { settings.push_front(setting); }