diff options
Diffstat (limited to 'options/value-traits.hpp')
-rw-r--r-- | options/value-traits.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/value-traits.hpp b/options/value-traits.hpp index 8a04b46d..0b30248e 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -34,7 +34,7 @@ struct value_traits<slider_value> : default_value_traits<slider_value> { static inline slider_value from_value(const slider_value& val, const slider_value& def) { - return slider_value(val.cur(), def.min(), def.max()); + return { val.cur(), def.min(), def.max() }; } }; |