mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Revert "C++11: Migrated from strtod to std::stod"
This reverts commit db49efd72f
.
This commit is contained in:
parent
ee40f89804
commit
b4b41215a2
4 changed files with 5 additions and 6 deletions
|
@ -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 = std::stod (number);
|
||||
double quantity = strtod (number.c_str (), NULL);
|
||||
|
||||
// Linear lookup - should instead be logarithmic.
|
||||
double seconds = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue