compilation fix.

This commit is contained in:
HedgehogInTheCPP 2026-09-23 03:09:06 +03:00
parent 42cd121f12
commit 4aae299916
2 changed files with 2 additions and 2 deletions

View File

@ -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<UC>(p, pend, options, store_spans);
}
}

View File

@ -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<T, UC>(first, last, value, options);
}
#endif