From 3853e131c96512fb8d979232f59c2f49b4c265ee Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 29 Nov 2019 09:30:12 +0100 Subject: [PATCH] NULL -> nullptr Co-Authored-By: Remi Gacogne --- pdns/syncres.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.47.2