From 4c8415dafee0859a506c663b888015644daabddf Mon Sep 17 00:00:00 2001 From: snowman2 Date: Mon, 18 Oct 2021 19:15:05 -0500 Subject: TYPE: Update const declarations in proj_trans_bounds --- src/4D_api.cpp | 2 +- src/proj.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/4D_api.cpp b/src/4D_api.cpp index 4e575f14..d366aba8 100644 --- a/src/4D_api.cpp +++ b/src/4D_api.cpp @@ -1310,7 +1310,7 @@ int proj_trans_bounds(PJ_CONTEXT* context, double* out_ymin, double* out_xmax, double* out_ymax, - int densify_pts + const int densify_pts ) { *out_xmin = HUGE_VAL; *out_ymin = HUGE_VAL; diff --git a/src/proj.h b/src/proj.h index b378cd00..92515131 100644 --- a/src/proj.h +++ b/src/proj.h @@ -604,10 +604,10 @@ int PROJ_DLL proj_trans_bounds( PJ_CONTEXT* context, PJ *P, PJ_DIRECTION direction, - const double xmin, - const double ymin, - const double xmax, - const double ymax, + double xmin, + double ymin, + double xmax, + double ymax, double* out_xmin, double* out_ymin, double* out_xmax, -- cgit v1.2.3