[Tile-serving] [openstreetmap/osm2pgsql] Add assertions so we are not using the wrong func by accident (PR #1710)

Jochen Topf notifications at github.com
Thu Jul 28 15:44:10 UTC 2022


It doesn't matter which function we use as long as we don't use the
return value from them. So the existing cases aren't a problem, but
this way this will not happen in the future where it might be a
problem.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add assertions so we are not using the wrong func by accident

-- File Changes --

    M tests/common-buffer.hpp (3)
    M tests/test-geom-lines.cpp (6)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1710 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220728/138c4385/attachment.htm>


More information about the Tile-serving mailing list