[Tile-serving] [openstreetmap/osm2pgsql] Remove remove shared_ptr wrappers around private class members (#563)

Sarah Hoffmann notifications at github.com
Wed Mar 30 21:45:56 UTC 2016


This PR is essentially more cleanup. Not having a shared pointer also allows the compiler to optimize a bit more but in the grand schema of things the speedup is marginal.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * make expire a simple member instead of using shared_ptr
  * remove shared_ptr for id_trackers
  * don't use make_shared when casting

-- File Changes --

    M id-tracker.cpp (2)
    M id-tracker.hpp (2)
    M osmdata.cpp (4)
    M output-multi.cpp (85)
    M output-multi.hpp (15)
    M output-pgsql.cpp (93)
    M output-pgsql.hpp (11)
    M output.cpp (31)
    M output.hpp (6)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/563.patch
https://github.com/openstreetmap/osm2pgsql/pull/563.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/563
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160330/435465d0/attachment.html>


More information about the Tile-serving mailing list