From 987c8e9a4521c3e80fac73dbaa76ff77747d854b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 14 Jun 2021 12:07:31 +0200 Subject: Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE --- src/iso19111/crs.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index b0f8a30f..28f55ffe 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -5522,12 +5522,11 @@ BoundCRS::_identify(const io::AuthorityFactoryPtr &authorityFactory) const { std::string opTransfPROJString; bool opTransfPROJStringValid = false; const auto &opName = op->nameStr(); - if (starts_with(opName, - osgeo::proj::operation:: - BALLPARK_GEOCENTRIC_TRANSLATION) || - starts_with( + if (starts_with( opName, - osgeo::proj::operation::NULL_GEOGRAPHIC_OFFSET)) { + operation::BALLPARK_GEOCENTRIC_TRANSLATION) || + starts_with(opName, + operation::NULL_GEOGRAPHIC_OFFSET)) { if (refIsNullTransform) { res.emplace_back(create(candidateBaseCRS, d->hubCRS_, -- cgit v1.2.3