mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
C++11: Migrated from strtod to std::stod
This commit is contained in:
parent
abc988476d
commit
db49efd72f
4 changed files with 6 additions and 5 deletions
|
@ -578,7 +578,7 @@ double Config::getReal (const std::string& key)
|
|||
return getReal("urgency.next.coefficient");
|
||||
|
||||
if ((*this).find (key) != (*this).end ())
|
||||
return strtod ((*this)[key].c_str (), NULL);
|
||||
return std::stod ((*this)[key]);
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue