Use strtod not atof

mutable-v2
Steven Kabbes 2014-11-18 15:57:04 +01:00 committed by Jacob Potter
parent ae9542cc35
commit cfdd67577c
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ struct JsonParser {
i++;
}
return std::atof(str.c_str() + start_pos);
return std::strtod(str.c_str() + start_pos, nullptr);
}
/* expect(str, res)