Browse Source

Use strtod not atof

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

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