From: Remi Gacogne Date: Fri, 16 Dec 2022 14:47:08 +0000 (+0100) Subject: channel: Use the template deleter parameter X-Git-Tag: rec-5.0.0-alpha1~161^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3be1471059aa00970eddb8c5745192ed0b13fbc;p=thirdparty%2Fpdns.git channel: Use the template deleter parameter --- diff --git a/pdns/channel.hh b/pdns/channel.hh index ff34e9f990..9334f3b64d 100644 --- a/pdns/channel.hh +++ b/pdns/channel.hh @@ -263,7 +263,7 @@ namespace channel template std::optional> Receiver::receive() { - return receive(std::default_delete()); + return receive(D()); } template