]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
cachecleaner.hh: pragma once
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 5 Apr 2017 11:05:21 +0000 (13:05 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 7 Apr 2017 10:49:06 +0000 (12:49 +0200)
pdns/cachecleaner.hh

index f6916832109c8601b0c58ef578f57bfc631afa23..0e746fa5e0913ce7280384edc035e52729858db0 100644 (file)
@@ -19,8 +19,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#ifndef PDNS_CACHECLEANER_HH
-#define PDNS_CACHECLEANER_HH
+#pragma once
 
 #include "lock.hh"
 
@@ -193,5 +192,3 @@ template <typename T> uint64_t purgeExactLockedCollection(T& mc, const DNSName&
 
   return delcount;
 }
-
-#endif