mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-10-28 18:07:16 +08:00
Fix clang-format 17 on FASTFLOAT_ASSERT macros
This commit is contained in:
parent
f837a78057
commit
4fcb7e3249
@ -234,16 +234,12 @@ using parse_options = parse_options_t<char>;
|
||||
|
||||
#ifndef FASTFLOAT_ASSERT
|
||||
#define FASTFLOAT_ASSERT(x) \
|
||||
{ \
|
||||
static_cast<void>(x); \
|
||||
}
|
||||
{ static_cast<void>(x); }
|
||||
#endif
|
||||
|
||||
#ifndef FASTFLOAT_DEBUG_ASSERT
|
||||
#define FASTFLOAT_DEBUG_ASSERT(x) \
|
||||
{ \
|
||||
static_cast<void>(x); \
|
||||
}
|
||||
{ static_cast<void>(x); }
|
||||
#endif
|
||||
|
||||
// rust style `try!()` macro, or `?` operator
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user