summaryrefslogtreecommitdiffhomepage
path: root/options/value-traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/value-traits.hpp')
-rw-r--r--options/value-traits.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/value-traits.hpp b/options/value-traits.hpp
index cf12649c..8a497aca 100644
--- a/options/value-traits.hpp
+++ b/options/value-traits.hpp
@@ -13,7 +13,7 @@ namespace detail {
template<typename t, typename u = t, typename Enable = void>
struct default_value_traits
{
- using element_type = remove_qualifiers<t>;
+ using element_type = std::decay_t<t>;
using value_type = u;
static inline value_type from_value(const value_type& val, const value_type&) { return val; }