diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-08 05:34:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-08 05:34:07 +0100 |
commit | 57d8fa7661c97fb9f02279060694a0073e7cc8b5 (patch) | |
tree | fef806825c73b9da2b0fad458a0c4488e756ff60 /migration | |
parent | 4acd40cd2997b2702d9ab411a0c85d1a92a6189d (diff) |
options: get element with call operator
thread_local is expensive.
Diffstat (limited to 'migration')
-rw-r--r-- | migration/20160917_00-accela.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/20160917_00-accela.cpp b/migration/20160917_00-accela.cpp index 60104c24..aefe6dda 100644 --- a/migration/20160917_00-accela.cpp +++ b/migration/20160917_00-accela.cpp @@ -94,7 +94,7 @@ struct move_accela_to_sliders : migration tmp = val; } - value<slider_value> tmp(new_b, slider_name, slider_value(-1e6, s.rot_nonlinearity->min(), s.rot_nonlinearity->max())); + value<slider_value> tmp(new_b, slider_name, slider_value(-1e6, s.rot_nonlinearity().min(), s.rot_nonlinearity().max())); tmp = old_b->contains(slider_name) ? old_b->get<slider_value>(slider_name) : slider_value(1.1, 1, 1.75); |