From 4aae299916caf3a09d7cf994e17110a3094d0049 Mon Sep 17 00:00:00 2001 From: HedgehogInTheCPP Date: Wed, 23 Sep 2026 03:09:06 +0300 Subject: [PATCH] compilation fix. --- include/fast_float/ascii_number.h | 2 +- include/fast_float/parse_number.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index df9e405..761c35c 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -790,7 +790,7 @@ parse_number_string(UC const *p, UC const *pend, // instantiation has to look at the flag. if (!basic_json_fmt) { if fastfloat_unlikely (chars_format_t(options.format & - detail::basic_javascript_fmt)) { + detail::javascript_fmt)) { return parse_number_string_javascript(p, pend, options, store_spans); } } diff --git a/include/fast_float/parse_number.h b/include/fast_float/parse_number.h index 232de8e..3cd91df 100644 --- a/include/fast_float/parse_number.h +++ b/include/fast_float/parse_number.h @@ -416,7 +416,7 @@ from_chars_float_advanced(UC const *first, UC const *last, T &value, // compiles to a tail call and the common path keeps its registers. The cold // function repeats the leading-whitespace and empty-input handling below. if fastfloat_unlikely (chars_format_t(options.format & - detail::basic_javascript_fmt)) { + detail::javascript_fmt)) { return from_chars_float_javascript(first, last, value, options); } #endif