From 364c1ecd8703dadaaa9c7479335e469b153a1be0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jan 2018 12:28:25 +0100 Subject: 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. --- options/options.hpp | 2 -- options/value-traits.hpp | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'options') diff --git a/options/options.hpp b/options/options.hpp index 0528b0d9..45697597 100644 --- a/options/options.hpp +++ b/options/options.hpp @@ -6,8 +6,6 @@ */ #pragma once -#include "compat/ndebug-guard.hpp" - #include "compat/util.hpp" #include "defs.hpp" 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 @@ -37,7 +36,7 @@ struct value_traits : default_value_traits // Qt uses int a lot in slots so use it for all enums template -struct value_traits>> : public default_value_traits +struct value_traits>> : public default_value_traits { }; -- cgit v1.2.3