mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-10-28 18:07:16 +08:00
compilation fix.
This commit is contained in:
parent
42cd121f12
commit
4aae299916
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user