diff --git a/src/common/settings.h b/src/common/settings.h index ab1c0b063..e1266cc04 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -204,8 +204,8 @@ public: explicit Setting(const Type& default_val, const Type& min_val, const Type& max_val, const std::string& name) requires(ranged) - : value{default_val}, default_value{default_val}, maximum{max_val}, minimum{min_val}, - label{name} {} + : value{default_val}, + default_value{default_val}, maximum{max_val}, minimum{min_val}, label{name} {} /** * Returns a reference to the setting's value. @@ -450,7 +450,7 @@ struct Values { Setting allow_plugin_loader{true, "allow_plugin_loader"}; // Renderer - SwitchableSetting graphics_api{ + SwitchableSetting graphics_api { #if defined(ENABLE_OPENGL) GraphicsAPI::OpenGL, #elif defined(ENABLE_VULKAN) @@ -461,7 +461,8 @@ struct Values { // TODO: Add a null renderer backend for this, perhaps. #error "At least one renderer must be enabled." #endif - GraphicsAPI::Software, GraphicsAPI::Vulkan, "graphics_api"}; + GraphicsAPI::Software, GraphicsAPI::Vulkan, "graphics_api" + }; SwitchableSetting physical_device{0, "physical_device"}; Setting use_gles{false, "use_gles"}; Setting renderer_debug{false, "renderer_debug"};