[Tile-serving] [osm2pgsql] Switch from auto_ptr to unique_ptr (#391)

Paul Norman notifications at github.com
Wed Jul 15 05:04:18 UTC 2015


This was just a drop-in replacement with no compile errors.

ref http://stackoverflow.com/questions/3451099/stdauto-ptr-to-stdunique-ptr, http://herbsutter.com/2013/05/29/gotw-89-solution-smart-pointers/
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Switch from auto_ptr to unique_ptr

-- File Changes --

    M geometry-builder.cpp (45)
    M middle-ram.hpp (2)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/391
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150714/660eaff9/attachment.html>


More information about the Tile-serving mailing list