Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Youssefi
otb
Commits
f5cfce07
Commit
f5cfce07
authored
Jul 09, 2020
by
Julien Osman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: Use char* instead of CSLConstList
parent
666b4300
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Modules/Core/Metadata/include/otbXMLMetadataSupplier.h
Modules/Core/Metadata/include/otbXMLMetadataSupplier.h
+1
-1
Modules/Core/Metadata/src/otbXMLMetadataSupplier.cxx
Modules/Core/Metadata/src/otbXMLMetadataSupplier.cxx
+1
-1
No files found.
Modules/Core/Metadata/include/otbXMLMetadataSupplier.h
View file @
f5cfce07
...
...
@@ -90,7 +90,7 @@ protected:
virtual
char
**
ReadXMLToList
(
CPLXMLNode
*
psNode
,
char
**
papszList
,
const
char
*
pszName
=
""
);
char
**
CSLFetchPartialNameValueMultiple
(
CSLConstList
papszStrList
,
const
char
*
pszName
)
const
;
char
**
CSLFetchPartialNameValueMultiple
(
char
**
papszStrList
,
const
char
*
pszName
)
const
;
private:
/** List of resource files */
...
...
Modules/Core/Metadata/src/otbXMLMetadataSupplier.cxx
View file @
f5cfce07
...
...
@@ -191,7 +191,7 @@ char** XMLMetadataSupplier::ReadXMLToList(CPLXMLNode* psNode, char** papszList,
return
papszList
;
}
char
**
XMLMetadataSupplier
::
CSLFetchPartialNameValueMultiple
(
CSLConstList
papszStrList
,
const
char
*
pszName
)
const
char
**
XMLMetadataSupplier
::
CSLFetchPartialNameValueMultiple
(
char
**
papszStrList
,
const
char
*
pszName
)
const
{
if
(
papszStrList
==
nullptr
||
pszName
==
nullptr
)
return
nullptr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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