aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-04 11:39:22 +0100
committerGitHub <noreply@github.com>2021-03-04 11:39:22 +0100
commitda406335b35b3751eed6c0a8dea6fd820c50dccf (patch)
treef87b70f0394460ab605b541265b62fdd539c5d14 /src/iso19111/c_api.cpp
parentd7d5e48de5d6775f72fcfec67a077a47618da313 (diff)
parentd5e07c53993d73cdc85c6cbe48694aa9cc3872f4 (diff)
downloadPROJ-da406335b35b3751eed6c0a8dea6fd820c50dccf.tar.gz
PROJ-da406335b35b3751eed6c0a8dea6fd820c50dccf.zip
Merge pull request #2553 from rouault/backport_8.0_clang_format
[Backport 8.0] Reformat code with clang-format-10 from ubuntu 20.04
Diffstat (limited to 'src/iso19111/c_api.cpp')
-rw-r--r--src/iso19111/c_api.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index c3e428d2..0d386e6b 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -8323,9 +8323,10 @@ double proj_dynamic_datum_get_frame_reference_epoch(PJ_CONTEXT *ctx,
auto dvrf = dynamic_cast<const DynamicVerticalReferenceFrame *>(
datum->iso_obj.get());
if (!dgrf && !dvrf) {
- proj_log_error(ctx, __FUNCTION__, "Object is not a "
- "DynamicGeodeticReferenceFrame or "
- "DynamicVerticalReferenceFrame");
+ proj_log_error(ctx, __FUNCTION__,
+ "Object is not a "
+ "DynamicGeodeticReferenceFrame or "
+ "DynamicVerticalReferenceFrame");
return -1;
}
const auto &frameReferenceEpoch =
@@ -8592,9 +8593,10 @@ PJ *proj_normalize_for_visualization(PJ_CONTEXT *ctx, const PJ *obj) {
auto co = dynamic_cast<const CoordinateOperation *>(obj->iso_obj.get());
if (!co) {
- proj_log_error(ctx, __FUNCTION__, "Object is not a CoordinateOperation "
- "created with "
- "proj_create_crs_to_crs");
+ proj_log_error(ctx, __FUNCTION__,
+ "Object is not a CoordinateOperation "
+ "created with "
+ "proj_create_crs_to_crs");
return nullptr;
}
try {