Use strtod not atof

mutable
Steven Kabbes 8 years ago committed by Jacob Potter
parent ae9542cc35
commit cfdd67577c
  1. 2
      json11.cpp

@ -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)

Loading…
Cancel
Save