diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-04 11:39:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 11:39:14 +0100 |
| commit | f278b5bee641dd94245ed54f4eb75e29c3d4d993 (patch) | |
| tree | ec5700b9a252f27670e821da9f821c8bed867052 /src/apps/projinfo.cpp | |
| parent | 948f39a4da835d9e770ece735d58ac488591bd76 (diff) | |
| parent | 095731d53405309c38bebe31af51d141f6319f1a (diff) | |
| download | PROJ-f278b5bee641dd94245ed54f4eb75e29c3d4d993.tar.gz PROJ-f278b5bee641dd94245ed54f4eb75e29c3d4d993.zip | |
Merge pull request #2551 from rouault/clang_format
Reformat code with clang-format-10 from ubuntu 20.04
Diffstat (limited to 'src/apps/projinfo.cpp')
| -rw-r--r-- | src/apps/projinfo.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp index 8d389019..8c266e94 100644 --- a/src/apps/projinfo.cpp +++ b/src/apps/projinfo.cpp @@ -187,8 +187,8 @@ static BaseObjectNNPtr buildObject( try { auto tokens = split(l_user_string, ':'); if (kind == "operation" && tokens.size() == 2) { - auto urn = "urn:ogc:def:coordinateOperation:" + tokens[0] + "::" + - tokens[1]; + auto urn = "urn:ogc:def:coordinateOperation:" + tokens[0] + + "::" + tokens[1]; obj = createFromUserInput(urn, dbContext).as_nullable(); } else if ((kind == "ellipsoid" || kind == "datum" || kind == "ensemble") && @@ -1214,11 +1214,10 @@ int main(int argc, char **argv) { if (crs) { try { auto res = crs->identify( - dbContext - ? AuthorityFactory::create( - NN_NO_CHECK(dbContext), authority) - .as_nullable() - : nullptr); + dbContext ? AuthorityFactory::create( + NN_NO_CHECK(dbContext), authority) + .as_nullable() + : nullptr); std::cout << std::endl; std::cout << "Identification match count: " << res.size() |
