[Tile-serving] [osm2pgsql-dev/osm2pgsql] Refactor: Simplifiy code by using std::variant for copy mgr (PR #2209)

Jochen Topf notifications at github.com
Tue Jul 9 09:34:22 UTC 2024


@joto commented on this pull request.



>      }
 
     void flush()
     {
         // flush current buffer if there is one
         if (m_current) {
-            m_processor->add_buffer(std::move(m_current));
+            m_processor->send_command(
+                db_cmd_copy_delete_t<DELETER>{std::move(m_current)});

I have fixed that, rebased and force-pushed.

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2209/review/2165681413 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240709/35c1341a/attachment.htm>


More information about the Tile-serving mailing list