summaryrefslogtreecommitdiffhomepage
path: root/options/value-traits.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-18 12:28:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-18 12:34:58 +0100
commit364c1ecd8703dadaaa9c7479335e469b153a1be0 (patch)
treea2ba1f508c5007857d865cc06bb696de0e398038 /options/value-traits.hpp
parent11ef6b48676c52a42a81f1f5ee021cb37e728800 (diff)
compat: split/cleanup util.hpp
Some of the headers are clearly useless. Remove them. Move what's inside util.hpp into separate headers. Adjust usages. Will remove util.hpp.
Diffstat (limited to 'options/value-traits.hpp')
-rw-r--r--options/value-traits.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/options/value-traits.hpp b/options/value-traits.hpp
index 3548c77a..ac5f6e5c 100644
--- a/options/value-traits.hpp
+++ b/options/value-traits.hpp
@@ -1,6 +1,5 @@
#include "export.hpp"
-#include "compat/functional.hpp"
#include "slider.hpp"
#include <QString>
@@ -37,7 +36,7 @@ struct value_traits<slider_value> : default_value_traits<slider_value>
// Qt uses int a lot in slots so use it for all enums
template<typename t>
-struct value_traits<t, t, std::enable_if_t<is_enum_v<t>>> : public default_value_traits<int, t>
+struct value_traits<t, t, std::enable_if_t<std::is_enum_v<t>>> : public default_value_traits<int, t>
{
};