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
11d05983
Commit
11d05983
authored
Apr 27, 2018
by
Guillaume Pasero
Browse files
BUG:
#1567
: fix compilation with GDAL 2.3.0
parent
aa132194
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
View file @
11d05983
...
...
@@ -114,7 +114,11 @@ typedef mpl::map
*/
template
< typename T
#if GDAL_VERSION_NUM >= 2030000
, T ( OGRFeature::*ptr_to_function )(int) const
#else
, T ( OGRFeature::*ptr_to_function )(int)
#endif
, typename FinalReturnType = T
> class MemberGetterPtr
{
...
...
@@ -190,7 +194,11 @@ template
*/
template
< typename T
#if GDAL_VERSION_NUM >= 2030000
, T const* ( OGRFeature::*ptr_to_function )(int, int*) const
#else
, T const* ( OGRFeature::*ptr_to_function )(int, int*)
#endif
, typename FinalReturnType = std::vector<T>
> class MemberContainerGetterPtr
{
...
...
@@ -292,7 +300,11 @@ template
*/
template
< typename T
#if GDAL_VERSION_NUM >= 2030000
, void ( OGRFeature::*ptr_to_function )(int, int, const T*)
#else
, void ( OGRFeature::*ptr_to_function )(int, int, T*) // not const-correct
#endif
, typename ActualParamType = std::vector<T>
> class MemberContainerSetterPtr
{
...
...
Bas Couwenberg
@sebastic
mentioned in issue
#1567 (closed)
·
Apr 27, 2018
mentioned in issue
#1567 (closed)
mentioned in issue #1567
Toggle commit list
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