[Tile-serving] [openstreetmap/osm2pgsql] Use pointers instead of references for mutable function params (PR #1656)

Jochen Topf notifications at github.com
Tue Mar 15 12:11:37 UTC 2022


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use ptr not ref for mutable param in expire_tiles::merge_and_destroy
  * Use ptr not ref for mutable param of db_copy_thread_t::thread_t
  * Use ptr not ref for mutable param in gazetteer_style_t::copy_out()
  * Use ptr not ref for mutable param of various pgsql_parse_* functions
  * Use ptr not ref for mutable param of add_z_order() function
  * Use ptr not ref for mutable param of filter_tags() function
  * Use ptr not ref for mutable param of filter_rel_member_tags()
  * Use ptr not ref for mutable param of thread_joiner constructor
  * Use ptr not ref for mutable param of fill_buffer() function
  * Use ptr not ref for mutable param of add_row/array/hash() helpers
  * Use ptr not ref for mutable param of full_dependency_manager_t::get_ids
  * Use ptr not ref for mutable param of input_context_t::apply()
  * Use ptr not ref for mutable param of write_and_read_location()

-- File Changes --

    M src/db-copy.cpp (16)
    M src/db-copy.hpp (4)
    M src/dependency-manager.cpp (11)
    M src/dependency-manager.hpp (6)
    M src/expire-tiles.cpp (14)
    M src/expire-tiles.hpp (2)
    M src/gazetteer-style.cpp (68)
    M src/gazetteer-style.hpp (2)
    M src/input.cpp (16)
    M src/middle-pgsql.cpp (24)
    M src/output-flex.cpp (2)
    M src/output-gazetteer.cpp (6)
    M src/output-pgsql.cpp (12)
    M src/tagtransform-c.cpp (67)
    M src/tagtransform-c.hpp (4)
    M src/tagtransform-lua.cpp (8)
    M src/tagtransform-lua.hpp (4)
    M src/tagtransform.hpp (4)
    M src/thread-pool.cpp (2)
    M src/thread-pool.hpp (6)
    M tests/test-db-copy-mgr.cpp (58)
    M tests/test-domain-matcher.cpp (22)
    M tests/test-expire-tiles.cpp (16)
    M tests/test-persistent-cache.cpp (26)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1656
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1656 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220315/0e4a93d1/attachment.htm>


More information about the Tile-serving mailing list