mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
compilation fix in some cases.
This commit is contained in:
parent
b869816c39
commit
07ab87ca2b
@ -513,7 +513,7 @@ parse_int_string(UC const *p, UC const *pend, T &value,
|
|||||||
return answer;
|
return answer;
|
||||||
}
|
}
|
||||||
if ((*p == UC('-')) ||
|
if ((*p == UC('-')) ||
|
||||||
(uint64_t(options.fmt & chars_format::allow_leading_plus) && (*p == UC('+')))) {
|
(uint64_t(options.format & chars_format::allow_leading_plus) && (*p == UC('+')))) {
|
||||||
++p;
|
++p;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user