From: Otto Moerbeek Date: Fri, 29 Nov 2019 08:30:12 +0000 (+0100) Subject: NULL -> nullptr X-Git-Tag: rec-4.3.0-beta1~1^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3853e131c96512fb8d979232f59c2f49b4c265ee;p=thirdparty%2Fpdns.git NULL -> nullptr Co-Authored-By: Remi Gacogne --- diff --git a/pdns/syncres.hh b/pdns/syncres.hh index b53b6ab34b..336a252643 100644 --- a/pdns/syncres.hh +++ b/pdns/syncres.hh @@ -135,7 +135,7 @@ public: } void prune() { - time_t now = time(NULL); + time_t now = time(nullptr); auto &ind = d_cont.template get(); ind.erase(ind.begin(), ind.upper_bound(now)); }