Skip to content

Commit

Permalink
Merge pull request #4047 from jjimenezshaw/proj-ns-macro
Browse files Browse the repository at this point in the history
Use NS_PROJ macro instead of osgeo::proj
  • Loading branch information
rouault authored Feb 10, 2024
2 parents 364708d + ad81dd9 commit 7e50b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformations/gridshift.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ bool gridshiftData::checkGridTypes(PJ *P, bool &isProjectedCoord) {
return false;
}
try {
m_offsetX = osgeo::proj::internal::c_locale_stod(offsetX);
m_offsetX = NS_PROJ::internal::c_locale_stod(offsetX);
} catch (const std::exception &) {
proj_log_error(P, _("Invalid offset value"));
return false;
}
try {
m_offsetY = osgeo::proj::internal::c_locale_stod(offsetY);
m_offsetY = NS_PROJ::internal::c_locale_stod(offsetY);
} catch (const std::exception &) {
proj_log_error(P, _("Invalid offset value"));
return false;
Expand Down

0 comments on commit 7e50b16

Please sign in to comment.