diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-09-05 12:59:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-05 12:59:59 +0200 |
| commit | ab1fb55900d7aba03fbc218192f693b0915c50ba (patch) | |
| tree | 0898ce607aa09845830a3416567fe44b72789496 /src/4D_api.cpp | |
| parent | faf7ec2d7f5d489bfd187f1a3408f0f09f94282f (diff) | |
| parent | d7d8f4500b6ee3f5dfdaa6662a36b93106419436 (diff) | |
| download | PROJ-ab1fb55900d7aba03fbc218192f693b0915c50ba.tar.gz PROJ-ab1fb55900d7aba03fbc218192f693b0915c50ba.zip | |
Merge pull request #1583 from rouault/constify_proj_create_crs_to_crs_from_pj
proj_create_crs_to_crs_from_pj(): make the PJ* arguments const PJ*
Diffstat (limited to 'src/4D_api.cpp')
| -rw-r--r-- | src/4D_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/4D_api.cpp b/src/4D_api.cpp index 3a9582e6..ffef8d81 100644 --- a/src/4D_api.cpp +++ b/src/4D_api.cpp @@ -946,7 +946,7 @@ static PJ* add_coord_op_to_list(PJ* op, } /*****************************************************************************/ -static PJ* create_operation_to_base_geog_crs(PJ_CONTEXT* ctx, PJ* crs) { +static PJ* create_operation_to_base_geog_crs(PJ_CONTEXT* ctx, const PJ* crs) { /*****************************************************************************/ // Create a geographic 2D long-lat degrees CRS that is related to the // CRS @@ -1052,7 +1052,7 @@ PJ *proj_create_crs_to_crs (PJ_CONTEXT *ctx, const char *source_crs, const char } /*****************************************************************************/ -PJ *proj_create_crs_to_crs_from_pj (PJ_CONTEXT *ctx, PJ *source_crs, PJ *target_crs, PJ_AREA *area, const char* const *) { +PJ *proj_create_crs_to_crs_from_pj (PJ_CONTEXT *ctx, const PJ *source_crs, const PJ *target_crs, PJ_AREA *area, const char* const *) { /****************************************************************************** Create a transformation pipeline between two known coordinate reference systems. |
