]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: One additional clang-tidy fix 14677/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Sep 2024 14:53:19 +0000 (16:53 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Sep 2024 14:53:19 +0000 (16:53 +0200)
pdns/tcpiohandler.cc

index b31a6cd8a33ebe1be06656301ebb567520f94a6a..a4a5995b0d16dec763ff915248d09d642130f741 100644 (file)
@@ -99,7 +99,7 @@ public:
   }
 
   /* client-side connection */
-  OpenSSLTLSConnection(const std::string& hostname, bool hostIsAddr, int socket, const struct timeval& timeout, std::shared_ptr<const OpenSSLTLSIOCtx> tlsCtx, std::unique_ptr<SSL, void(*)(SSL*)>&& conn): d_tlsCtx(std::move(tlsCtx)), d_conn(std::move(conn)), d_hostname(std::move(hostname)), d_timeout(timeout), d_isClient(true)
+  OpenSSLTLSConnection(std::string hostname, bool hostIsAddr, int socket, const struct timeval& timeout, std::shared_ptr<const OpenSSLTLSIOCtx> tlsCtx, std::unique_ptr<SSL, void(*)(SSL*)>&& conn): d_tlsCtx(std::move(tlsCtx)), d_conn(std::move(conn)), d_hostname(std::move(hostname)), d_timeout(timeout), d_isClient(true)
   {
     d_socket = socket;