]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix compatibility with boost::lockfree >= 1.87.0 15137/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 10 Feb 2025 10:24:28 +0000 (11:24 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 10 Feb 2025 10:24:28 +0000 (11:24 +0100)
commit05543aed8ccff2270a65d3f9b75e6e9d894b8b45
tree82ec1ec33393ce49d025dce3fa83496227460d39
parent85d0037faffb610187fcdc431361839874320510
dnsdist: Fix compatibility with boost::lockfree >= 1.87.0

In https://github.com/boostorg/lockfree/pull/90 `boost::lockfree::spsc_queue`
introduced moved semantics, which is great, but added restrictions
to the callback functor that did not exist before, breaking the API.
This PR fixes that by updating our callbacks to expect an object
instead of a reference.
pdns/dnsdistdist/dnsdist-xsk.cc
pdns/dnsdistdist/xsk.cc
pdns/dnsdistdist/xsk.hh