From f50ac3549d6a7f1199fa012e4b03f581bc8d305b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Jun 2018 12:54:47 +0200 Subject: core, modules: modernize syntax only Use more C++17 features where this helps any. --- tracker-pt/pt-settings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt/pt-settings.hpp') diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp index a1b9d4f6..a8e3497a 100644 --- a/tracker-pt/pt-settings.hpp +++ b/tracker-pt/pt-settings.hpp @@ -52,5 +52,5 @@ struct pt_settings final : options::opts value auto_threshold { b, "automatic-threshold", true }; value blob_color { b, "blob-color", pt_color_natural }; - value threshold_slider { b, "threshold-slider", slider_value(128, 0, 255) }; + value threshold_slider { b, "threshold-slider", { 128, 0, 255 } }; }; -- cgit v1.2.3