From 8d295235a5bd3990bac1a9c7d7b2052ea9541248 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 11 Jul 2020 19:20:44 +0200 Subject: [PATCH] :fire: remove unused boolean_operators.hpp header --- include/nlohmann/detail/boolean_operators.hpp | 8 ------ .../nlohmann/detail/conversions/from_json.hpp | 1 - .../nlohmann/detail/conversions/to_chars.hpp | 1 - .../nlohmann/detail/conversions/to_json.hpp | 1 - .../nlohmann/detail/iterators/iter_impl.hpp | 1 - include/nlohmann/detail/meta/cpp_future.hpp | 2 -- include/nlohmann/detail/meta/type_traits.hpp | 1 - include/nlohmann/detail/output/serializer.hpp | 1 - include/nlohmann/detail/value_t.hpp | 2 -- include/nlohmann/json.hpp | 1 - single_include/nlohmann/json.hpp | 28 ------------------- 11 files changed, 47 deletions(-) delete mode 100644 include/nlohmann/detail/boolean_operators.hpp diff --git a/include/nlohmann/detail/boolean_operators.hpp b/include/nlohmann/detail/boolean_operators.hpp deleted file mode 100644 index 06335866..00000000 --- a/include/nlohmann/detail/boolean_operators.hpp +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - -// Header is removed in C++20. -// See for more information. - -#if __cplusplus <= 201703L - #include // and, not, or -#endif diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp index eca916dd..03e8d367 100644 --- a/include/nlohmann/detail/conversions/from_json.hpp +++ b/include/nlohmann/detail/conversions/from_json.hpp @@ -12,7 +12,6 @@ #include // pair, declval #include // valarray -#include #include #include #include diff --git a/include/nlohmann/detail/conversions/to_chars.hpp b/include/nlohmann/detail/conversions/to_chars.hpp index 9dd35fe0..c632ff2b 100644 --- a/include/nlohmann/detail/conversions/to_chars.hpp +++ b/include/nlohmann/detail/conversions/to_chars.hpp @@ -7,7 +7,6 @@ #include // numeric_limits #include // conditional -#include #include namespace nlohmann diff --git a/include/nlohmann/detail/conversions/to_json.hpp b/include/nlohmann/detail/conversions/to_json.hpp index e412d910..b45004fd 100644 --- a/include/nlohmann/detail/conversions/to_json.hpp +++ b/include/nlohmann/detail/conversions/to_json.hpp @@ -9,7 +9,6 @@ #include // valarray #include // vector -#include #include #include #include diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp index 77dc469f..e9a394d4 100644 --- a/include/nlohmann/detail/iterators/iter_impl.hpp +++ b/include/nlohmann/detail/iterators/iter_impl.hpp @@ -3,7 +3,6 @@ #include // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next #include // conditional, is_const, remove_const -#include #include #include #include diff --git a/include/nlohmann/detail/meta/cpp_future.hpp b/include/nlohmann/detail/meta/cpp_future.hpp index 11f88acc..dd929ee1 100644 --- a/include/nlohmann/detail/meta/cpp_future.hpp +++ b/include/nlohmann/detail/meta/cpp_future.hpp @@ -3,8 +3,6 @@ #include // size_t #include // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type -#include - namespace nlohmann { namespace detail diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp index 7dda32ee..2da7b363 100644 --- a/include/nlohmann/detail/meta/type_traits.hpp +++ b/include/nlohmann/detail/meta/type_traits.hpp @@ -4,7 +4,6 @@ #include // false_type, is_constructible, is_integral, is_same, true_type #include // declval -#include #include #include #include diff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp index 1fb40943..865b8904 100644 --- a/include/nlohmann/detail/output/serializer.hpp +++ b/include/nlohmann/detail/output/serializer.hpp @@ -12,7 +12,6 @@ #include // is_same #include // move -#include #include #include #include diff --git a/include/nlohmann/detail/value_t.hpp b/include/nlohmann/detail/value_t.hpp index 759ca510..0383df06 100644 --- a/include/nlohmann/detail/value_t.hpp +++ b/include/nlohmann/detail/value_t.hpp @@ -5,8 +5,6 @@ #include // uint8_t #include // string -#include - namespace nlohmann { namespace detail diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index b7b65c1c..bbefa421 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -48,7 +48,6 @@ SOFTWARE. #include #include -#include #include #include #include diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index f55803d4..0324c11b 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -66,16 +66,6 @@ SOFTWARE. #include // pair, declval #include // valarray -// #include - - -// Header is removed in C++20. -// See for more information. - -#if __cplusplus <= 201703L - #include // and, not, or -#endif - // #include @@ -2556,9 +2546,6 @@ class other_error : public exception #include // size_t #include // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type -// #include - - namespace nlohmann { namespace detail @@ -2624,8 +2611,6 @@ constexpr T static_const::value; #include // false_type, is_constructible, is_integral, is_same, true_type #include // declval -// #include - // #include @@ -3210,9 +3195,6 @@ struct is_constructible_tuple> : conjunction // uint8_t #include // string -// #include - - namespace nlohmann { namespace detail @@ -3681,8 +3663,6 @@ constexpr const auto& from_json = detail::static_const::va #include // valarray #include // vector -// #include - // #include @@ -4443,8 +4423,6 @@ class byte_container_with_subtype : public BinaryType } // namespace nlohmann -// #include - // #include // #include @@ -10401,8 +10379,6 @@ template struct internal_iterator #include // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next #include // conditional, is_const, remove_const -// #include - // #include // #include @@ -13946,8 +13922,6 @@ class binary_writer #include // is_same #include // move -// #include - // #include @@ -13958,8 +13932,6 @@ class binary_writer #include // numeric_limits #include // conditional -// #include - // #include