From a133b72fa803afc19be5bc9bf0275f27778372ba Mon Sep 17 00:00:00 2001 From: IRainman Date: Tue, 8 Apr 2025 03:24:11 +0300 Subject: [PATCH] FASTFLOAT_ASSUME --- include/fast_float/float_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 5153b30..143df1b 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -197,12 +197,12 @@ using parse_options = parse_options_t; #ifndef FASTFLOAT_ASSERT #define FASTFLOAT_ASSERT(x) \ - { ((void)(x)); } + { ((void)(x)); FASTFLOAT_ASSUME(x); } #endif #ifndef FASTFLOAT_DEBUG_ASSERT #define FASTFLOAT_DEBUG_ASSERT(x) \ - { ((void)(x)); } + { ((void)(x)); FASTFLOAT_ASSUME(x); } #endif // rust style `try!()` macro, or `?` operator