summaryrefslogtreecommitdiffhomepage
path: root/options/value-traits.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 18:34:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-10 10:31:58 +0200
commit61884594ceff59279abe5530c8c1af1870dc8fbb (patch)
treec896d862a5dee2ea1647ab9f68961381339fc669 /options/value-traits.hpp
parent4ad996e116e78dd5f03c1ec47df2d380f6e23a68 (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.hpp11
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
{