diff options
Diffstat (limited to 'options')
-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 8a497aca..d1a64da8 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -37,7 +37,7 @@ struct value_traits<slider_value> : default_value_traits<slider_value> // Qt uses int a lot in slots so use it for all enums template<typename t> -struct value_traits<t, t, std::enable_if_t<std::is_enum<t>::value>> : public default_value_traits<int, t> +struct value_traits<t, t, std::enable_if_t<is_enum_v<t>>> : public default_value_traits<int, t> { }; |