diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-04 11:39:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 11:39:22 +0100 |
| commit | da406335b35b3751eed6c0a8dea6fd820c50dccf (patch) | |
| tree | f87b70f0394460ab605b541265b62fdd539c5d14 /src/iso19111/datum.cpp | |
| parent | d7d5e48de5d6775f72fcfec67a077a47618da313 (diff) | |
| parent | d5e07c53993d73cdc85c6cbe48694aa9cc3872f4 (diff) | |
| download | PROJ-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/datum.cpp')
| -rw-r--r-- | src/iso19111/datum.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/iso19111/datum.cpp b/src/iso19111/datum.cpp index 8e1b8257..96952866 100644 --- a/src/iso19111/datum.cpp +++ b/src/iso19111/datum.cpp @@ -835,9 +835,8 @@ void Ellipsoid::_exportToWKT( } formatter->add(computedInverseFlattening()); const auto &unit = semiMajor.unit(); - if (isWKT2 && - !(formatter->ellipsoidUnitOmittedIfMetre() && - unit == common::UnitOfMeasure::METRE)) { + if (isWKT2 && !(formatter->ellipsoidUnitOmittedIfMetre() && + unit == common::UnitOfMeasure::METRE)) { unit._exportToWKT(formatter, io::WKTConstants::LENGTHUNIT); } if (formatter->outputId()) { @@ -1269,8 +1268,9 @@ void GeodeticReferenceFrame::_exportToWKT( // as to trigger the caching done in createObjectsFromName() // in that case. auto matches = factory->createObjectsFromName( - l_name, {io::AuthorityFactory::ObjectType:: - GEODETIC_REFERENCE_FRAME}, + l_name, + {io::AuthorityFactory::ObjectType:: + GEODETIC_REFERENCE_FRAME}, true, 2); if (matches.size() == 1) { const auto &match = matches.front(); @@ -1870,8 +1870,8 @@ RealizationMethod::RealizationMethod(const std::string &nameIn) // --------------------------------------------------------------------------- -RealizationMethod &RealizationMethod:: -operator=(const RealizationMethod &other) { +RealizationMethod & +RealizationMethod::operator=(const RealizationMethod &other) { CodeList::operator=(other); return *this; } |
