[Tile-serving] [osm2pgsql-dev/osm2pgsql] Misc cleanup (PR #2251)

Jochen Topf notifications at github.com
Tue Sep 17 10:07:22 UTC 2024


Various small cleanups of issues found by clang-tidy 18. See individual commits.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * clang-tidy cleanup: remove redundant member inits
  * clang-tidy: Put function definitions in cpp file where they belong
  * Use smallest usable type (uint8_t) for some enums
  * Use const ref instead of string copy

-- File Changes --

    M src/expire-config.hpp (3)
    M src/flex-table.hpp (5)
    M src/input.cpp (6)
    M src/input.hpp (4)
    M src/logging.hpp (3)
    M src/middle.cpp (4)
    M src/middle.hpp (7)
    M src/options.hpp (18)
    M src/output-flex.hpp (20)
    M src/properties.cpp (3)
    M src/properties.hpp (2)
    M src/thread-pool.hpp (2)

-- Patch Links --

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

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2251 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240917/4eb10eca/attachment.htm>


More information about the Tile-serving mailing list