diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 2d10f87823..25bfeb423c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -50,8 +50,7 @@ jobs: matrix: target: [ ci_test_amalgamation, # needs AStyle - ci_infer, # needs Infer - ci_single_binaries # needs iwyu + ci_infer # needs Infer ] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -98,10 +97,10 @@ jobs: container: silkeh/clang:dev strategy: matrix: - target: [ci_clang_tidy, ci_test_clang_sanitizer, ci_clang_analyze] + target: [ci_clang_tidy, ci_test_clang_sanitizer, ci_clang_analyze, ci_single_binaries] steps: - name: Install git, clang-tools, and unzip - run: apt-get update ; apt-get install -y git clang-tools unzip + run: apt-get update ; apt-get install -y git clang-tools iwyu unzip - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Get latest CMake and ninja uses: lukka/get-cmake@5979409e62bdf841487c5fb3c053149de97a86d3 # v3.31.2 diff --git a/include/nlohmann/detail/conversions/to_json.hpp b/include/nlohmann/detail/conversions/to_json.hpp index 8b8c68636b..ec20cd7d6f 100644 --- a/include/nlohmann/detail/conversions/to_json.hpp +++ b/include/nlohmann/detail/conversions/to_json.hpp @@ -8,11 +8,13 @@ #pragma once -#include // copy -#include // begin, end +#include // JSON_HAS_CPP_17 #ifdef JSON_HAS_CPP_17 #include // optional #endif + +#include // copy +#include // begin, end #include // string #include // tuple, get #include // is_same, is_constructible, is_floating_point, is_enum, underlying_type @@ -21,7 +23,6 @@ #include // vector #include -#include #include #include #include diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 0be903ff47..a23279d251 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -5267,11 +5267,14 @@ NLOHMANN_JSON_NAMESPACE_END -#include // copy -#include // begin, end +// #include +// JSON_HAS_CPP_17 #ifdef JSON_HAS_CPP_17 #include // optional #endif + +#include // copy +#include // begin, end #include // string #include // tuple, get #include // is_same, is_constructible, is_floating_point, is_enum, underlying_type @@ -5558,8 +5561,6 @@ class tuple_element> inline constexpr bool ::std::ranges::enable_borrowed_range<::nlohmann::detail::iteration_proxy> = true; #endif -// #include - // #include // #include