mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-04-30 19:09:19 +08:00
init
This commit is contained in:
parent
3f42ad2272
commit
50c19fad17
@ -22,7 +22,7 @@ template <typename T> bool test() {
|
||||
char const *begin = input.data();
|
||||
char const *end = input.data() + input.size();
|
||||
for (size_t i = 0; i < answers.size(); i++) {
|
||||
T result_value;
|
||||
T result_value = 0;
|
||||
while ((begin < end) && (std::isspace(*begin))) {
|
||||
begin++;
|
||||
}
|
||||
|
||||
@ -98,7 +98,7 @@ template <typename T> bool test() {
|
||||
char const *begin = input.data();
|
||||
char const *end = input.data() + input.size();
|
||||
for (size_t i = 0; i < answers.size(); i++) {
|
||||
T result_value;
|
||||
T result_value = 0;
|
||||
while ((begin < end) && (std::isspace(*begin))) {
|
||||
begin++;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user