[Tile-serving] [openstreetmap/osm2pgsql] Remove copy_thread parameter from output constructors (PR #1838)
Jochen Topf
notifications at github.com
Wed Nov 30 09:19:20 UTC 2022
@joto commented on this pull request.
> @@ -32,9 +32,9 @@ class output_gazetteer_t : public output_t
/// Constructor for new objects
output_gazetteer_t(std::shared_ptr<middle_query_t> const &mid,
std::shared_ptr<thread_pool_t> thread_pool,
- options_t const &options,
- std::shared_ptr<db_copy_thread_t> const ©_thread)
- : output_t(mid, std::move(thread_pool), options), m_copy(copy_thread),
+ options_t const &options)
+ : output_t(mid, std::move(thread_pool), options),
+ m_copy(std::make_shared<db_copy_thread_t>(get_options()->conninfo)),
I have added a commit fixing this (and also changing the parameter name `o` to `options` in some places for consistency, and short names are bad anyway).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1838#discussion_r1035716496
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1838/review/1198955181 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221130/9ba6116d/attachment.htm>
More information about the Tile-serving
mailing list