[Tile-serving] [openstreetmap/osm2pgsql] Pass points as values, other geoms as reference to add_geometry() (PR #2046)

Jochen Topf notifications at github.com
Thu Aug 17 07:01:02 UTC 2023


Points are small and not movable. Removes a complaint from clang-tidy about pessimizing std::move.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Pass points as values, other geoms as reference to add_geometry()

-- File Changes --

    M src/geom.hpp (6)
    M tests/test-expire-from-geometry.cpp (16)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/2046 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230817/672ba621/attachment.htm>


More information about the Tile-serving mailing list