⏫ Update clang-format to 14.0, pin version (#266)

This commit is contained in:
Dominik Thalhammer
2022-10-23 11:57:38 +02:00
committed by GitHub
parent 8e0fb8e438
commit 02e94cafcb
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -2039,8 +2039,8 @@ namespace jwt {
};
template<typename object_type, typename string_type>
using is_count_signature = typename std::is_integral<decltype(
std::declval<const object_type>().count(std::declval<const string_type>()))>;
using is_count_signature = typename std::is_integral<decltype(std::declval<const object_type>().count(
std::declval<const string_type>()))>;
template<typename object_type, typename string_type>
struct has_subcription_operator {