Skip to content

Commit 72b2a73

Browse files
committed
const ness
1 parent 1df71f1 commit 72b2a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/ascii_number.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ parse_int_string(UC const *p, UC const *pend, T &value, int base) {
476476

477477
UC const *const first = p;
478478

479-
bool negative = (*p == UC('-'));
479+
bool const negative = (*p == UC('-'));
480480
if (!std::is_signed<T>::value && negative) {
481481
answer.ec = std::errc::invalid_argument;
482482
answer.ptr = first;

0 commit comments

Comments
 (0)