Commit 055734fb authored by SPeillet's avatar SPeillet
Browse files

BUG: version_proxy namespace is obsolete beyond OTB 6.6 because GDAL1.x is no longer supported

parent 1045ff23
......@@ -109,7 +109,7 @@ private:
OGRFieldType fieldType = feature.ogr().GetFieldDefnRef(iField)->GetType();
if(fieldType == OFTInteger || ogr::version_proxy::IsOFTInteger64(fieldType) || fieldType == OFTReal)
if(fieldType == OFTInteger || fieldType == OFTInteger64 || fieldType == OFTReal)
{
std::string tmpKey="feat."+key.substr(0, end - key.begin());
AddChoice(tmpKey,item);
......
Markdown is supported
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