From: Remi Gacogne Date: Wed, 25 Sep 2019 15:04:26 +0000 (+0200) Subject: auth: Mark getFreshAXFRPacket() as static X-Git-Tag: dnsdist-1.4.0-rc3~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8208%2Fhead;p=thirdparty%2Fpdns.git auth: Mark getFreshAXFRPacket() as static --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index a86d09cb9d..2b5e32054e 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -538,7 +538,7 @@ namespace { bool d_auth; }; - std::unique_ptr getFreshAXFRPacket(std::unique_ptr& q) + static std::unique_ptr getFreshAXFRPacket(std::unique_ptr& q) { std::unique_ptr ret = std::unique_ptr(q->replyPacket()); ret->setCompress(false);