From: Remi Gacogne Date: Wed, 16 Feb 2022 15:00:07 +0000 (+0100) Subject: dnsdist: Remove move-constructor and move copy operator for DownstreamState X-Git-Tag: rec-4.7.0-alpha1~9^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24832462095630c57539d1275fb575373ab3c5d3;p=thirdparty%2Fpdns.git dnsdist: Remove move-constructor and move copy operator for DownstreamState --- diff --git a/pdns/dnsdist.hh b/pdns/dnsdist.hh index f03522db86..371e353048 100644 --- a/pdns/dnsdist.hh +++ b/pdns/dnsdist.hh @@ -691,9 +691,9 @@ struct CrossProtocolQuery; struct DownstreamState: public std::enable_shared_from_this { DownstreamState(const DownstreamState&) = delete; - DownstreamState(DownstreamState&&) = default; + DownstreamState(DownstreamState&&) = delete; DownstreamState& operator=(const DownstreamState&) = delete; - DownstreamState& operator=(DownstreamState&&) = default; + DownstreamState& operator=(DownstreamState&&) = delete; typedef std::function(const DNSName&, uint16_t, uint16_t, dnsheader*)> checkfunc_t; enum class Availability : uint8_t { Up, Down, Auto};