From cbbeca96c1b660939e9c19159f1e4525a09e1784 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 27 Oct 2017 13:49:24 +0200 Subject: options/value: template fix --- options/value-traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/value-traits.hpp') diff --git a/options/value-traits.hpp b/options/value-traits.hpp index d1a64da8..3548c77a 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -14,7 +14,7 @@ template struct default_value_traits { using element_type = std::decay_t; - using value_type = u; + using value_type = std::decay_t; static inline value_type from_value(const value_type& val, const value_type&) { return val; } static inline value_type from_storage(const element_type& x) { return static_cast(x); } -- cgit v1.2.3