From: Kees Monshouwer Date: Wed, 21 Oct 2020 20:50:17 +0000 (+0200) Subject: auth: remove some redundant std::move casts X-Git-Tag: auth-4.4.0-alpha2~23^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f3f7d9f892e6b9c84820fc582cf8ca62f2539cd;p=thirdparty%2Fpdns.git auth: remove some redundant std::move casts --- diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index de27cd0176..383a3e05b4 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -626,7 +626,7 @@ void DNSSECKeeper::getPreRRSIGs(UeberBackend& db, vector& rrs, ui dzr.dr.d_place = rr.dr.d_place; dzr.dr.d_ttl = signTTL; - rrs.emplace_back(std::move(dzr)); + rrs.emplace_back(dzr); } } } diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 4571c025f5..8985346581 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -520,7 +520,7 @@ void PacketHandler::doAdditionalProcessing(DNSPacket& p, std::unique_ptr