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. --- filter-kalman/kalman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filter-kalman') diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h index decd540d..094e106c 100644 --- a/filter-kalman/kalman.h +++ b/filter-kalman/kalman.h @@ -125,8 +125,8 @@ struct settings : opts { settings() : opts("kalman-filter"), - noise_rot_slider_value(b, "noise-rotation-slider", slider_value(0.5, 0., 1.)), - noise_pos_slider_value(b, "noise-position-slider", slider_value(0.5, 0., 1.)) + noise_rot_slider_value(b, "noise-rotation-slider", { .5, 0., 1. }), + noise_pos_slider_value(b, "noise-position-slider", { .5, 0., 1. }) {} }; -- cgit v1.2.3