From bfacb42321c6b287823ef9b685658488c6462e04 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 3 Jul 2023 20:03:54 +0200 Subject: [PATCH] dnsdist: Make clang-tidy happy We will have to come back if ComboAddress ever becomes heavier, but hey. --- pdns/dnsdistdist/doh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/doh.cc b/pdns/dnsdistdist/doh.cc index c88cb11130..c8931c5cdb 100644 --- a/pdns/dnsdistdist/doh.cc +++ b/pdns/dnsdistdist/doh.cc @@ -976,7 +976,7 @@ static int doh_handler(h2o_handler_t *self, h2o_req_t *req) if (dsc->df->d_trustForwardedForHeader) { auto newRemote = processForwardedForHeader(req, remote); if (newRemote) { - remote = std::move(*newRemote); + remote = *newRemote; } } -- 2.47.2