From e87dba5cc3ec2c341920346ea23c57da07b0476d Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 29 Nov 2023 15:02:51 +0100 Subject: [PATCH] :art: use Clang-Format --- .github/workflows/check_amalgamation.yml | 1 + single_include/nlohmann/json.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_amalgamation.yml b/.github/workflows/check_amalgamation.yml index 88651f7b1..3054c6d51 100644 --- a/.github/workflows/check_amalgamation.yml +++ b/.github/workflows/check_amalgamation.yml @@ -21,6 +21,7 @@ jobs: check: runs-on: ubuntu-latest + container: silkeh/clang:dev env: MAIN_DIR: ${{ github.workspace }}/main diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 5719c721b..1ac7c0761 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -4241,7 +4241,7 @@ Returns an ordering that is similar to Python: @since version 1.0.0 */ #if JSON_HAS_THREE_WAY_COMPARISON -inline std::partial_ordering operator<= > (const value_t lhs, const value_t rhs) noexcept // *NOPAD* +inline std::partial_ordering operator<=> (const value_t lhs, const value_t rhs) noexcept // *NOPAD* #else inline bool operator<(const value_t lhs, const value_t rhs) noexcept #endif