diff options
Diffstat (limited to 'options')
| -rw-r--r-- | options/value-traits.hpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/options/value-traits.hpp b/options/value-traits.hpp index ac5f6e5c..680f138c 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -1,3 +1,5 @@ +#pragma once +  #include "export.hpp"  #include "slider.hpp" @@ -12,6 +14,8 @@ namespace detail {  template<typename t, typename u = t, typename Enable = void>  struct default_value_traits  { +    virtual ~default_value_traits() = default; +      using element_type = std::decay_t<t>;      using value_type = std::decay_t<u>; | 
