diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:34:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-10 10:31:58 +0200 |
commit | 61884594ceff59279abe5530c8c1af1870dc8fbb (patch) | |
tree | c896d862a5dee2ea1647ab9f68961381339fc669 /options/value-traits.hpp | |
parent | 4ad996e116e78dd5f03c1ec47df2d380f6e23a68 (diff) |
Revert "options/value: add `QObject::connect` wrapper"
This reverts commit a67e8630caf20e7f48151024e9e68dd9271d75c7.
Diffstat (limited to 'options/value-traits.hpp')
-rw-r--r-- | options/value-traits.hpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/options/value-traits.hpp b/options/value-traits.hpp index e676f942..145cd924 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -15,17 +15,6 @@ using cv_qualified = std::remove_cvref_t<t>, std::add_lvalue_reference_t<std::add_const_t<std::remove_cvref_t<t>>>>; -template<typename t, typename = void> -struct maybe_enum_type { - using type = t; -}; -template<typename t> -struct maybe_enum_type<t, std::enable_if_t<std::is_enum_v<t>>> { - using type = int; -}; - -template<typename t> using maybe_enum_type_t = typename maybe_enum_type<t>::type; - template<typename t, typename u = t, typename Enable = void> struct default_value_traits { |