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
|
@ -578,7 +578,7 @@ double Config::getReal (const std::string& key)
|
|||
return getReal("urgency.next.coefficient");
|
||||
|
||||
if ((*this).find (key) != (*this).end ())
|
||||
return std::stod ((*this)[key]);
|
||||
return strtod ((*this)[key].c_str (), NULL);
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue