[Tile-serving] [openstreetmap/osm2pgsql] Refactor getting read-only middle object (#871)
Sarah Hoffmann
notifications at github.com
Wed Oct 3 16:12:22 UTC 2018
Rewrite get_instance() to receive the shared pointer as a parameter
and get rid of the no_delete() hack which essentially renders the
shared pointer mute.
Also get rid of const for middle_query_t. There is no point in
adding this as the middle_query_t interface is completely const
already.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/871
-- Commit Summary --
* refactor getting read-only middle object
-- File Changes --
M middle-pgsql.cpp (44)
M middle-pgsql.hpp (4)
M middle-ram.cpp (17)
M middle-ram.hpp (4)
M middle.hpp (5)
M osmdata.cpp (6)
M tests/mockups.hpp (11)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/871.patch
https://github.com/openstreetmap/osm2pgsql/pull/871.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/871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20181003/7c41da8a/attachment-0001.html>
More information about the Tile-serving
mailing list