aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-03 18:34:50 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-03 18:34:50 +0100
commitd5e07c53993d73cdc85c6cbe48694aa9cc3872f4 (patch)
treede0719771863f6d987d5a0ac195c6e3593decc8f /src/iso19111/c_api.cpp
parent5cf4ca197c36234a60976a236c1af69c76571460 (diff)
downloadPROJ-d5e07c53993d73cdc85c6cbe48694aa9cc3872f4.tar.gz
PROJ-d5e07c53993d73cdc85c6cbe48694aa9cc3872f4.zip
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 {