Skip to content
Snippets Groups Projects
Commit 6b67854c authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

COMP: fix missing const in template

parent 681d8b1f
Branches
Tags
No related merge requests found
......@@ -232,7 +232,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>
, bool Is_contiguous = boost::is_contiguous<ActualParamType>::value
> class TagDispatchMemberContainerSetterPtr;
......@@ -241,7 +245,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
> class TagDispatchMemberContainerSetterPtr<T, ptr_to_function, ActualParamType, true>
{
......@@ -257,7 +265,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
> class TagDispatchMemberContainerSetterPtr<T, ptr_to_function, ActualParamType, false>
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment