mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-16 15:19:54 +08:00
Fix error message to display input instead of result
This commit is contained in:
parent
64a68590fd
commit
71ab1cce81
@ -83,7 +83,7 @@ int main() {
|
|||||||
std::cout << "parsed the number " << result << std::endl;
|
std::cout << "parsed the number " << result << std::endl;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
std::cerr << "failed to parse " << result << std::endl;
|
std::cerr << "failed to parse " << input << std::endl;
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user