From 9472da788d1f455ffa1ebf2debb3006ec3a042d0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 11 Dec 2023 16:14:10 -0500 Subject: [PATCH] ConfigFloatSlider: Resolve -Wreorder warnings Orders the initializer list the way that the members would actually be initialized in. Resolves some -Wreorder warnings --- .../Core/DolphinQt/Config/ConfigControls/ConfigFloatSlider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/ConfigControls/ConfigFloatSlider.cpp b/Source/Core/DolphinQt/Config/ConfigControls/ConfigFloatSlider.cpp index f881f6653f..5d12649be4 100644 --- a/Source/Core/DolphinQt/Config/ConfigControls/ConfigFloatSlider.cpp +++ b/Source/Core/DolphinQt/Config/ConfigControls/ConfigFloatSlider.cpp @@ -11,7 +11,7 @@ ConfigFloatSlider::ConfigFloatSlider(float minimum, float maximum, const Config::Info& setting, float step) - : ToolTipSlider(Qt::Horizontal), m_minimum(minimum), m_setting(setting), m_step(step) + : ToolTipSlider(Qt::Horizontal), m_minimum(minimum), m_step(step), m_setting(setting) { const float range = maximum - minimum; const int steps = std::round(range / step);