]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
iputils.hh: Consistently use nullptr rather than NULL.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 9 Oct 2019 01:34:13 +0000 (03:34 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 11 Feb 2020 01:01:47 +0000 (02:01 +0100)
pdns/iputils.hh

index 11525254e2aed517e8f19e298676c73e5bdc4129..9bfb317dfe5ae603713aa848f73371c13c33159d 100644 (file)
@@ -574,7 +574,7 @@ private:
     */
   class TreeNode : boost::noncopyable {
   public:
-    explicit TreeNode(int bits) noexcept : parent(NULL),d_bits(bits) {
+    explicit TreeNode(int bits) noexcept : parent(nullptr),d_bits(bits) {
     }
 
     //<! Makes a left node with one more bit than parent