From b4bcc249393274dfc05dc5290af23f3e8fe76248 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Oct 2018 19:11:46 +0200 Subject: options/value: remove pointless conditional std::decay doesn't have enum-specific behavior. --- options/value.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'options/value.hpp') 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 class value final : public value_ { - using t = std::conditional_t>, - std::decay_t, - remove_cvref_t>; + using t = remove_cvref_t; const t def; using traits = detail::value_traits; -- cgit v1.2.3