]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use const ref for string arg 14318/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 21 Jun 2024 07:46:33 +0000 (09:46 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Jun 2024 07:46:33 +0000 (09:46 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/recursordist/lwres.cc

index 7cc83ec6e7b44fa73176f7a220e652e4b5a7604a..04e29920d1d0d80b307ccbcc8fcc80ccc0935daf 100644 (file)
@@ -214,7 +214,7 @@ static void logOutgoingQuery(const std::shared_ptr<std::vector<std::unique_ptr<R
   }
 }
 
-static void logIncomingResponse(const std::shared_ptr<std::vector<std::unique_ptr<RemoteLogger>>>& outgoingLoggers, const boost::optional<const boost::uuids::uuid&>& initialRequestId, const boost::uuids::uuid& uuid, const ComboAddress& address, const DNSName& domain, int type, uint16_t qid, bool doTCP, bool tls, const boost::optional<Netmask>& srcmask, size_t bytes, int rcode, const std::vector<DNSRecord>& records, const struct timeval& queryTime, const std::set<uint16_t>& exportTypes, const std::string nsName)
+static void logIncomingResponse(const std::shared_ptr<std::vector<std::unique_ptr<RemoteLogger>>>& outgoingLoggers, const boost::optional<const boost::uuids::uuid&>& initialRequestId, const boost::uuids::uuid& uuid, const ComboAddress& address, const DNSName& domain, int type, uint16_t qid, bool doTCP, bool tls, const boost::optional<Netmask>& srcmask, size_t bytes, int rcode, const std::vector<DNSRecord>& records, const struct timeval& queryTime, const std::set<uint16_t>& exportTypes, const std::string& nsName)
 {
   if (!outgoingLoggers) {
     return;