From: Remi Gacogne Date: Thu, 31 Oct 2019 09:53:30 +0000 (+0100) Subject: auth: Fix compilation of comfun (ambiguous make_unique call) X-Git-Tag: dnsdist-1.4.0~22^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cedcf423d3bfb6b60e4d8265dc1bc6bc14984a1;p=thirdparty%2Fpdns.git auth: Fix compilation of comfun (ambiguous make_unique call) --- diff --git a/pdns/comfun.cc b/pdns/comfun.cc index 0f4bc90aee..a2bf399f6a 100644 --- a/pdns/comfun.cc +++ b/pdns/comfun.cc @@ -420,7 +420,7 @@ try } else if(mode=="scan-ns") { ifstream ns(string(argv[2])+".nameservers"); - g_powerdns = make_unique(string(argv[2])+".powerdns"); + g_powerdns = std::unique_ptr(new ofstream(string(argv[2])+".powerdns")); string line; int count=0; vector parts;