[Tile-serving] [openstreetmap/osm2pgsql] Misc cleanups (#1512)

Jochen Topf notifications at github.com
Thu May 27 14:00:15 UTC 2021


Most of them found by clang-tidy.

See individual commits.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Miscellaneous const cleanups
  * Various small cleanups found by clang-tidy
  * More small cleanups found by clang-tidy
  * Use std::make_shared/unique to reduce use of bare "new" operator

-- File Changes --

    M src/db-check.cpp (2)
    M src/db-copy-mgr.hpp (2)
    M src/db-copy.cpp (2)
    M src/expire-tiles.cpp (14)
    M src/expire-tiles.hpp (12)
    M src/flex-table.cpp (2)
    M src/gazetteer-style.cpp (9)
    M src/gazetteer-style.hpp (7)
    M src/geom.cpp (3)
    M src/geom.hpp (2)
    M src/input.cpp (2)
    M src/middle-pgsql.cpp (8)
    M src/node-persistent-cache.cpp (2)
    M src/options.cpp (16)
    M src/osmdata.cpp (2)
    M src/osmtypes.hpp (7)
    M src/output-flex.cpp (6)
    M src/output-pgsql.cpp (13)
    M src/output.cpp (9)
    M src/reprojection-generic-proj6.cpp (1)
    M src/table.cpp (8)
    M src/tagtransform-lua.hpp (10)
    M src/thread-pool.hpp (2)
    M src/util.cpp (2)
    M src/util.hpp (4)
    M tests/common-import.hpp (10)
    M tests/test-expire-tiles.cpp (3)
    M tests/test-middle.cpp (6)
    M tests/test-options-parse.cpp (2)
    M tests/test-output-flex-way-relation-add.cpp (2)
    M tests/test-output-gazetteer.cpp (6)
    M tests/test-parse-osmium.cpp (90)
    M tests/test-pgsql.cpp (4)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1512
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210527/02ca64c6/attachment-0001.htm>


More information about the Tile-serving mailing list