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

@ -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;
}