[Tile-serving] [openstreetmap/osm2pgsql] Various small fixes for problems found by clang-tidy (PR #1858)

Jochen Topf notifications at github.com
Thu Dec 22 09:56:41 UTC 2022


Biggest problem here are the warnings for access of objects after std::move() in the SECTIONs in the tests. Those are not valid, because for each test only one section is ever run, but it was easiest to silence the warning this way.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Various small fixes for problems found by clang-tidy

-- File Changes --

    M src/output-flex.cpp (2)
    M tests/test-expire-from-geometry.cpp (125)
    M tests/test-flex-indexes.cpp (4)
    M tests/test-parse-osmium.cpp (2)

-- Patch Links --

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

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

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


More information about the Tile-serving mailing list