diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-11-09 00:44:06 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-11-09 00:44:06 +0100 |
| commit | fa0c0e617e4fdc5bf1e2bb2142a4213698808155 (patch) | |
| tree | fefd9a58753658885abe81c1493a575bd9c7ca24 /src/iso19111/c_api.cpp | |
| parent | 01afa55e56148a668eabeb271a15352f920b3bca (diff) | |
| download | PROJ-fa0c0e617e4fdc5bf1e2bb2142a4213698808155.tar.gz PROJ-fa0c0e617e4fdc5bf1e2bb2142a4213698808155.zip | |
Reformatting fixes
Diffstat (limited to 'src/iso19111/c_api.cpp')
| -rw-r--r-- | src/iso19111/c_api.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index cbc6485a..666e675d 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -1589,8 +1589,8 @@ const char *proj_as_wkt(PJ_CONTEXT *ctx, const PJ *obj, PJ_WKT_TYPE type, * The returned string is valid while the input obj parameter is valid, * and until a next call to proj_as_proj_string() with the same input * object. - * - * \warning If a CRS object was not created from a PROJ string, + * + * \warning If a CRS object was not created from a PROJ string, * exporting to a PROJ string will in most cases * cause a loss of information. This can potentially lead to * erroneous transformations. @@ -3730,8 +3730,8 @@ PJ *proj_alter_name(PJ_CONTEXT *ctx, const PJ *obj, const char *name) { * @return Object that must be unreferenced with * proj_destroy(), or NULL in case of error. */ -PJ *proj_alter_id(PJ_CONTEXT *ctx, const PJ *obj, - const char *auth_name, const char *code) { +PJ *proj_alter_id(PJ_CONTEXT *ctx, const PJ *obj, const char *auth_name, + const char *code) { SANITIZE_CTX(ctx); if (!obj || !auth_name || !code) { proj_context_errno_set(ctx, PROJ_ERR_OTHER_API_MISUSE); @@ -4166,8 +4166,7 @@ PJ *proj_crs_demote_to_2D(PJ_CONTEXT *ctx, const char *crs_2D_name, * @return Object that must be unreferenced with * proj_destroy(), or NULL in case of error. */ -PJ *proj_create_engineering_crs(PJ_CONTEXT *ctx, - const char *crs_name) { +PJ *proj_create_engineering_crs(PJ_CONTEXT *ctx, const char *crs_name) { SANITIZE_CTX(ctx); try { return pj_obj_create( |
