From 055734fba5ab2ed2c657c4a02a8dd3a5d509a170 Mon Sep 17 00:00:00 2001 From: SPeillet <peillet.seb@protonmail.com> Date: Thu, 21 Feb 2019 14:41:50 +0100 Subject: [PATCH] BUG: version_proxy namespace is obsolete beyond OTB 6.6 because GDAL1.x is no longer supported --- app/otbComputeVectorFeaturesStatistics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/otbComputeVectorFeaturesStatistics.cxx b/app/otbComputeVectorFeaturesStatistics.cxx index 4637f20..df01656 100644 --- a/app/otbComputeVectorFeaturesStatistics.cxx +++ b/app/otbComputeVectorFeaturesStatistics.cxx @@ -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); -- GitLab