From 53902262040c77423591ea57ae43ab38cda655dc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 26 Jun 2018 22:53:29 +0200 Subject: options/value: add missing dereference operator --- migration/20171013_00-tracker-pt-threshold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration') diff --git a/migration/20171013_00-tracker-pt-threshold.cpp b/migration/20171013_00-tracker-pt-threshold.cpp index c9c070fa..89becb3f 100644 --- a/migration/20171013_00-tracker-pt-threshold.cpp +++ b/migration/20171013_00-tracker-pt-threshold.cpp @@ -43,7 +43,7 @@ struct move_int_to_slider : migration value old_val(b, old_name, 128); value new_val(b, new_name, { 128, 0, 255 }); - new_val = { old_val.to(), 0, 255 }; + new_val = { *old_val, 0, 255 }; b->save(); } -- cgit v1.2.3