C++11: Migrated from strtod to std::stod

This commit is contained in:
Paul Beckingham
2015-11-01 19:44:15 -05:00
parent abc988476d
commit db49efd72f
4 changed files with 6 additions and 5 deletions

View File

@@ -1874,7 +1874,7 @@ bool ISO8601p::parse (const std::string& input, std::string::size_type& start)
Lexer::isSingleCharOperator (n.next ()))
{
start = original_start + n.cursor ();
double quantity = strtod (number.c_str (), NULL);
double quantity = std::stod (number);
// Linear lookup - should instead be logarithmic.
double seconds = 1;