diff options
| author | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-01-06 03:57:21 +0100 |
|---|---|---|
| committer | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-01-06 03:57:21 +0100 |
| commit | 451ad9aa0f7f44c9cec4143e6f7ddca0ed84bc42 (patch) | |
| tree | 3c444ab1328153968272f766ff72c0f7f5c7e564 | |
| parent | a8ac5e3dbf41c2610f6df084a4f1bfe637e88973 (diff) | |
| download | cxxformat-451ad9aa0f7f44c9cec4143e6f7ddca0ed84bc42.tar.gz cxxformat-451ad9aa0f7f44c9cec4143e6f7ddca0ed84bc42.zip | |
Clean up includes
| -rw-r--r-- | cxxformat/core.hpp | 10 | ||||
| -rw-r--r-- | cxxformat/formatters.hpp | 6 | ||||
| -rw-r--r-- | cxxformat/helpers.hpp | 1 |
3 files changed, 7 insertions, 10 deletions
diff --git a/cxxformat/core.hpp b/cxxformat/core.hpp index 3b665a5..92ab3c1 100644 --- a/cxxformat/core.hpp +++ b/cxxformat/core.hpp @@ -1,17 +1,7 @@ #pragma once -#include <algorithm> -#include <array> -#include <bit> -#include <cassert> -#include <charconv> -#include <cmath> -#include <cstddef> -#include <limits> #include <optional> #include <stdexcept> -#include <sstream> -#include <string> #include <string_view> #include "helpers.hpp" diff --git a/cxxformat/formatters.hpp b/cxxformat/formatters.hpp index dce3420..94a0ae6 100644 --- a/cxxformat/formatters.hpp +++ b/cxxformat/formatters.hpp @@ -2,7 +2,13 @@ #include "core.hpp" +#include <array> +#include <bit> +#include <cmath> +#include <cassert> +#include <charconv> #include <concepts> +#include <limits> namespace format { namespace { diff --git a/cxxformat/helpers.hpp b/cxxformat/helpers.hpp index c4bad42..73cb0be 100644 --- a/cxxformat/helpers.hpp +++ b/cxxformat/helpers.hpp @@ -2,6 +2,7 @@ #include <cassert> #include <concepts> +#include <limits> #include <memory> #include <optional> #include <type_traits> |
