From 8da7a86b961dd3e6a8c49c0c379eaa5d9c0b6e51 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 2 Nov 2024 16:22:54 -0500 Subject: [PATCH] Config/IsSettingSaveable: Use class template argument deduction. --- Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp b/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp index fd47ede19e..9652dd281a 100644 --- a/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp +++ b/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp @@ -17,8 +17,8 @@ namespace ConfigLoaders { bool IsSettingSaveable(const Config::Location& config_location) { - static constexpr std::array systems_not_saveable = { - Config::System::GCPad, Config::System::WiiPad, Config::System::GCKeyboard}; + static constexpr std::array systems_not_saveable = {Config::System::GCPad, Config::System::WiiPad, + Config::System::GCKeyboard}; if (std::find(begin(systems_not_saveable), end(systems_not_saveable), config_location.system) == end(systems_not_saveable))