diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-10-21 21:53:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-21 21:53:59 +0200 |
| commit | 01d503cb23b4cffe4435c1e915c4d0661bb16d74 (patch) | |
| tree | de972529c8e02767bd68ed5002d8e9a4d76b4a2a | |
| parent | f714b5300a87ce3f192be08a29a1ed50f98f3270 (diff) | |
| parent | 4c8415dafee0859a506c663b888015644daabddf (diff) | |
| download | PROJ-01d503cb23b4cffe4435c1e915c4d0661bb16d74.tar.gz PROJ-01d503cb23b4cffe4435c1e915c4d0661bb16d74.zip | |
Merge pull request #2908 from snowman2/const
TYPE: Update const declarations in proj_trans_bounds
| -rw-r--r-- | src/4D_api.cpp | 2 | ||||
| -rw-r--r-- | src/proj.h | 8 |
2 files changed, 5 insertions, 5 deletions
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; @@ -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, |
