1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 12:43:52 +00:00

chore(deps): pre-commit.ci autoupdate (#1072)

<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/mirrors-clang-format: v18.1.8 →
v19.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.8...v19.1.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot] 2024-10-03 07:53:24 -07:00 committed by GitHub
parent 8c6a73d343
commit 924e3e84fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ repos:
- id: debug-statements - id: debug-statements
- repo: https://github.com/pre-commit/mirrors-clang-format - repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8 rev: v19.1.0
hooks: hooks:
- id: clang-format - id: clang-format
types_or: [c++, c, cuda] types_or: [c++, c, cuda]

View File

@ -53,15 +53,15 @@
/** detection of rtti */ /** detection of rtti */
#ifndef CLI11_USE_STATIC_RTTI #ifndef CLI11_USE_STATIC_RTTI
#if(defined(_HAS_STATIC_RTTI) && _HAS_STATIC_RTTI) #if (defined(_HAS_STATIC_RTTI) && _HAS_STATIC_RTTI)
#define CLI11_USE_STATIC_RTTI 1 #define CLI11_USE_STATIC_RTTI 1
#elif defined(__cpp_rtti) #elif defined(__cpp_rtti)
#if(defined(_CPPRTTI) && _CPPRTTI == 0) #if (defined(_CPPRTTI) && _CPPRTTI == 0)
#define CLI11_USE_STATIC_RTTI 1 #define CLI11_USE_STATIC_RTTI 1
#else #else
#define CLI11_USE_STATIC_RTTI 0 #define CLI11_USE_STATIC_RTTI 0
#endif #endif
#elif(defined(__GCC_RTTI) && __GXX_RTTI) #elif (defined(__GCC_RTTI) && __GXX_RTTI)
#define CLI11_USE_STATIC_RTTI 0 #define CLI11_USE_STATIC_RTTI 0
#else #else
#define CLI11_USE_STATIC_RTTI 1 #define CLI11_USE_STATIC_RTTI 1