Commit 607ab9429f46dec7c05f03513622df78f17afd2b
Committed by
GitHub
1 parent
e1cef53f
chore(deps): pre-commit.ci autoupdate (#725)
* chore(deps): pre-commit.ci autoupdate updates: - [github.com/pre-commit/mirrors-clang-format: v13.0.1 → v14.0.1](https://github.com/pre-commit/mirrors-clang-format/compare/v13.0.1...v14.0.1) * style: pre-commit.ci fixes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Showing
2 changed files
with
2 additions
and
2 deletions
.pre-commit-config.yaml
| @@ -22,7 +22,7 @@ repos: | @@ -22,7 +22,7 @@ repos: | ||
| 22 | - id: trailing-whitespace | 22 | - id: trailing-whitespace |
| 23 | 23 | ||
| 24 | - repo: https://github.com/pre-commit/mirrors-clang-format | 24 | - repo: https://github.com/pre-commit/mirrors-clang-format |
| 25 | - rev: v13.0.1 | 25 | + rev: v14.0.1 |
| 26 | hooks: | 26 | hooks: |
| 27 | - id: clang-format | 27 | - id: clang-format |
| 28 | types_or: [c++, c, cuda] | 28 | types_or: [c++, c, cuda] |
include/CLI/TypeTools.hpp
| @@ -149,7 +149,7 @@ template <typename T, typename C> class is_direct_constructible { | @@ -149,7 +149,7 @@ template <typename T, typename C> class is_direct_constructible { | ||
| 149 | #ifdef __CUDACC__ | 149 | #ifdef __CUDACC__ |
| 150 | #pragma diag_suppress 2361 | 150 | #pragma diag_suppress 2361 |
| 151 | #endif | 151 | #endif |
| 152 | - TT { std::declval<CC>() } | 152 | + TT{std::declval<CC>()} |
| 153 | #ifdef __CUDACC__ | 153 | #ifdef __CUDACC__ |
| 154 | #pragma diag_default 2361 | 154 | #pragma diag_default 2361 |
| 155 | #endif | 155 | #endif |