[Tile-serving] [openstreetmap/osm2pgsql] make tile expiry a proper C++ class (#587)
Sarah Hoffmann
notifications at github.com
Sat Jun 4 20:44:28 UTC 2016
- use unique_ptr for subtile managment and get rid of explicit malloc/free
- only save required options instead of reference to options
- hand in filename and minzoom as parameters to output_and_destroy(), they are not needed otherwise
- fix formatting where code was changed
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/587
-- Commit Summary --
* make tile expiry a proper C++ class
-- File Changes --
M expire-tiles.cpp (334)
M expire-tiles.hpp (57)
M options.cpp (4)
M options.hpp (2)
M output-multi.cpp (14)
M output-pgsql.cpp (15)
M tests/test-expire-tiles.cpp (83)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/587.patch
https://github.com/openstreetmap/osm2pgsql/pull/587.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/587
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160604/81ab90c8/attachment.html>
More information about the Tile-serving
mailing list