diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-10 02:33:37 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-10 02:35:17 +0200 |
commit | 5798cedeafecc965244a8db7538d7e76c47eac84 (patch) | |
tree | 77118ece2cb43c402e43e21e0b6238ce1efec732 /src/precomp.hpp | |
parent | 3dff574d59aba28ceda955c7a4d92b53387d2173 (diff) |
reduce precompiled header bitrot
Diffstat (limited to 'src/precomp.hpp')
-rw-r--r-- | src/precomp.hpp | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/src/precomp.hpp b/src/precomp.hpp index fe97f0a1..b4cf310a 100644 --- a/src/precomp.hpp +++ b/src/precomp.hpp @@ -5,26 +5,19 @@ #include "compat/defs.hpp" #include "compat/assert.hpp" +#if __has_include(<fmt/core.h>) +#include "compat/exception.hpp" +#endif + #ifdef __GNUG__ #pragma GCC system_header #endif -#include <bit> -#include <cerrno> -#include <cstddef> -#include <cstdint> -#include <cstring> -#include <cmath> -#include <cstdio> - #include <concepts> -#include <iterator> -#include <limits> #include <memory> #include <type_traits> - -#include <algorithm> #include <utility> +#include <algorithm> #include <tuple> #include <bitset> @@ -34,13 +27,14 @@ #include <Corrade/Containers/Array.h> #include <Corrade/Containers/ArrayViewStl.h> -#include <Corrade/Containers/EnumSet.h> #include <Corrade/Containers/Pointer.h> -#include <Corrade/Containers/StringStl.h> -#include <Corrade/Containers/StringStlHash.h> +#include <Corrade/Containers/String.h> +#include <Corrade/Containers/StringView.h> + +#include <Corrade/Containers/PairStl.h> +#include <Corrade/Containers/TripleStl.h> -#include <Corrade/Utility/DebugStl.h> -#include <Corrade/Utility/Resource.h> +#include <Corrade/Utility/Debug.h> #include <Corrade/Utility/Path.h> #include <Magnum/Magnum.h> |