[Tile-serving] [openstreetmap/osm2pgsql] Some mixed code cleanups found by clang-tidy (PR #1798)

Jochen Topf notifications at github.com
Fri Oct 21 12:44:40 UTC 2022


You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1798

-- Commit Summary --

  * Disable some clang-tidy tests
  * Use data() instead of taking the address of the 0-th element
  * Fix some misc code smells reported by clang-tidy

-- File Changes --

    M .clang-tidy (9)
    M src/geom-boost-adaptor.hpp (8)
    M src/geom.hpp (8)
    M src/options.cpp (2)
    M src/output-flex.cpp (3)
    M src/output.cpp (8)
    M src/pgsql.hpp (4)
    M src/tagtransform-c.cpp (8)
    M src/wkb.cpp (2)
    M tests/test-options-parse.cpp (6)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1798.patch
https://github.com/openstreetmap/osm2pgsql/pull/1798.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1798
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1798 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221021/f417d5eb/attachment.htm>


More information about the Tile-serving mailing list