Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
37cf0f8b
Commit
37cf0f8b
authored
Oct 12, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Modules/IO/ExtendedFilename/src/otbExtendedFilenameToReaderOptions.cxx
View file @
37cf0f8b
...
...
@@ -61,11 +61,11 @@ void ExtendedFilenameToReaderOptions::SetExtendedFileName(const std::string& ext
}
if
(
!
map
[
"sdataidx"
].
empty
())
{
m_Options
.
subDatasetIndex
=
{
true
,
a
toi
(
map
[
"sdataidx"
]
.
c_str
()
)};
m_Options
.
subDatasetIndex
=
{
true
,
std
::
s
toi
(
map
[
"sdataidx"
])};
}
if
(
!
map
[
"resol"
].
empty
())
{
m_Options
.
resolutionFactor
=
{
true
,
a
toi
(
map
[
"resol"
]
.
c_str
()
)};
m_Options
.
resolutionFactor
=
{
true
,
std
::
s
toi
(
map
[
"resol"
])};
}
if
(
!
map
[
"skipcarto"
].
empty
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment