[Tile-serving] [openstreetmap/osm2pgsql] Various smaller fixes and cleanups (PR #1984)

Jochen Topf notifications at github.com
Sun Jun 25 09:59:28 UTC 2023


Fixes clang-tidy warnings

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

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

-- Commit Summary --

  * Simplify condition
  * Use std::array::at() instead of operator[]()
  * Add copy/move constructor/operator= to virtual base classes
  * Consistently use unit32_t for postgresql server version
  * Avoid non-thread-safe code where possible

-- File Changes --

    M src/db-copy.cpp (2)
    M src/expire-output.cpp (5)
    M src/middle.hpp (12)
    M src/pgsql.hpp (11)
    M src/tagtransform.hpp (7)
    M src/version.cpp.in (4)
    M src/version.hpp (4)

-- Patch Links --

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

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

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


More information about the Tile-serving mailing list