[Tile-serving] [openstreetmap/osm2pgsql] Code cleanups (#585)
Rolf Eike Beer
notifications at github.com
Wed Jun 1 17:52:59 UTC 2016
* removes some unused defines and feature tests
* replaces C-style casts with C++ ones
* replace 2 malloc() calls
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/585
-- Commit Summary --
* remove some unused system checks and defines
* replace C casts with C++ casts
* replace malloc() with new
* entirely avoid dynamic allocation for a single DWORD, put it on the stack
-- File Changes --
M CMakeLists.txt (4)
M cmake/config.h.in (3)
M middle-pgsql.cpp (40)
M pgsql.cpp (4)
M sprompt.cpp (10)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/585.patch
https://github.com/openstreetmap/osm2pgsql/pull/585.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/585
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160601/70e8595e/attachment.html>
More information about the Tile-serving
mailing list