summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--options/value.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/options/value.hpp b/options/value.hpp
index a1ef5734..ea180b27 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -38,9 +38,7 @@ namespace options {
template<typename u>
class value final : public value_
{
- using t = std::conditional_t<std::is_enum_v<remove_cvref_t<u>>,
- std::decay_t<u>,
- remove_cvref_t<u>>;
+ using t = remove_cvref_t<u>;
const t def;
using traits = detail::value_traits<t>;