diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-03 17:45:53 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-03 17:45:53 +0100 |
| commit | 095731d53405309c38bebe31af51d141f6319f1a (patch) | |
| tree | efa9f1e916c1c1373298900ac4e66702beec8f35 /src/transformations/defmodel.cpp | |
| parent | 9e2eb067585b9a61b2b5e636547ac80dd4d01d06 (diff) | |
| download | PROJ-095731d53405309c38bebe31af51d141f6319f1a.tar.gz PROJ-095731d53405309c38bebe31af51d141f6319f1a.zip | |
Reformat code with clang-format-10 from ubuntu 20.04
Diffstat (limited to 'src/transformations/defmodel.cpp')
| -rw-r--r-- | src/transformations/defmodel.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/transformations/defmodel.cpp b/src/transformations/defmodel.cpp index 0d9f6690..443660c9 100644 --- a/src/transformations/defmodel.cpp +++ b/src/transformations/defmodel.cpp @@ -89,15 +89,17 @@ struct Grid : public GridPrototype { } } if (foundDesc && (!foundDescX || !foundDescY)) { - pj_log(ctx, PJ_LOG_ERROR, "grid %s : Found band description, " - "but not the ones expected", + pj_log(ctx, PJ_LOG_ERROR, + "grid %s : Found band description, " + "but not the ones expected", realGrid->name().c_str()); return false; } const auto unit = realGrid->unit(sampleX); if (!unit.empty() && unit != expectedUnit) { - pj_log(ctx, PJ_LOG_ERROR, "grid %s : Only unit=%s " - "currently handled for this mode", + pj_log(ctx, PJ_LOG_ERROR, + "grid %s : Only unit=%s " + "currently handled for this mode", realGrid->name().c_str(), expectedUnit.c_str()); return false; } @@ -145,15 +147,17 @@ struct Grid : public GridPrototype { } } if (foundDesc && !foundDescZ) { - pj_log(ctx, PJ_LOG_ERROR, "grid %s : Found band description, " - "but not the ones expected", + pj_log(ctx, PJ_LOG_ERROR, + "grid %s : Found band description, " + "but not the ones expected", realGrid->name().c_str()); return false; } const auto unit = realGrid->unit(sampleZ); if (!unit.empty() && unit != STR_METRE) { - pj_log(ctx, PJ_LOG_ERROR, "grid %s : Only unit=metre currently " - "handled for this mode", + pj_log(ctx, PJ_LOG_ERROR, + "grid %s : Only unit=metre currently " + "handled for this mode", realGrid->name().c_str()); return false; } |
