diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 85fee6b..914297b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ on: jobs: clang-format: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -21,10 +21,10 @@ jobs: - "example/**/*.cpp" steps: - run: | - sudo apt-get install clang-format + sudo apt-get install clang-format-14 shopt -s globstar - uses: actions/checkout@v2 - - run: clang-format -i ${{ matrix.files }} + - run: clang-format-14 -i ${{ matrix.files }} - uses: ./.github/actions/process-linting-results with: linter_name: clang-format diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h index dae9263..5c622b6 100644 --- a/include/jwt-cpp/jwt.h +++ b/include/jwt-cpp/jwt.h @@ -2039,8 +2039,8 @@ namespace jwt { }; template - using is_count_signature = typename std::is_integral().count(std::declval()))>; + using is_count_signature = typename std::is_integral().count( + std::declval()))>; template struct has_subcription_operator {