From: Remi Gacogne Date: Fri, 24 Oct 2025 14:55:01 +0000 (+0200) Subject: Regex: Appease clang-tidy X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9f454a3f3d918ecc9248aface3bacad2e32f71b;p=thirdparty%2Fpdns.git Regex: Appease clang-tidy Signed-off-by: Remi Gacogne --- diff --git a/pdns/misc.cc b/pdns/misc.cc index a280a91934..6a8b607b08 100644 --- a/pdns/misc.cc +++ b/pdns/misc.cc @@ -840,7 +840,7 @@ Regex::Regex(const string& expr): /** call this to find out if 'line' matches your expression */ bool Regex::match(const string &line) const { - return regexec(d_preg.get(), line.c_str(), 0, 0, 0) == 0; + return regexec(d_preg.get(), line.c_str(), 0, nullptr, 0) == 0; } bool Regex::match(const DNSName& name) const