[Tile-serving] [osm2pgsql-dev/osm2pgsql] Various code cleanups (PR #2225)

Jochen Topf notifications at github.com
Thu Aug 15 07:10:15 UTC 2024


Various cleanups mostly related to clang-tidy. See individual commits.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2225

-- Commit Summary --

  * Cleanup: Use .empty() instead of comparing to empty string
  * We don't need the exp() function for squaring a number
  * Suppress various false-positive clang-tidy warnings
  * Remove some false-positives from clang-tidy warnings

-- File Changes --

    M .clang-tidy (4)
    M src/expire-tiles.cpp (4)
    M src/gen/osm2pgsql-gen.cpp (2)
    M src/geom-functions.cpp (4)
    M src/node-persistent-cache.cpp (1)
    M src/thread-pool.hpp (1)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2225.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2225.diff

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2225 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240815/a154f9ac/attachment-0001.htm>


More information about the Tile-serving mailing list