Commit 37cf0f8b authored by Rémi Cresson's avatar Rémi Cresson
Browse files

ENH, REFAC: atoi(s.c_str()) --> std::stoi(s)

parent f7ad40f7
Pipeline #11705 passed with stages
in 76 minutes and 36 seconds
......@@ -61,11 +61,11 @@ void ExtendedFilenameToReaderOptions::SetExtendedFileName(const std::string& ext
}
if (!map["sdataidx"].empty())
{
m_Options.subDatasetIndex = {true, atoi(map["sdataidx"].c_str())};
m_Options.subDatasetIndex = {true, std::stoi(map["sdataidx"])};
}
if (!map["resol"].empty())
{
m_Options.resolutionFactor = {true, atoi(map["resol"].c_str())};
m_Options.resolutionFactor = {true, std::stoi(map["resol"])};
}
if (!map["skipcarto"].empty())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment