]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix two more cases of ambiguous operator calls
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 8 Sep 2025 07:41:58 +0000 (09:41 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 12 Nov 2025 08:09:27 +0000 (09:09 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/iputils.hh

index 5e74d0ddc9b94da612af55890e5345b450bc99f4..3a445eb9985ff0fa7b8b3d7f37e3a1786e464927 100644 (file)
@@ -1305,11 +1305,11 @@ public:
       return &d_node->node;
     }
 
-    bool operator==(const Iterator& rhs)
+    bool operator==(const Iterator& rhs) const
     {
       return (d_tree == rhs.d_tree && d_node == rhs.d_node);
     }
-    bool operator!=(const Iterator& rhs)
+    bool operator!=(const Iterator& rhs) const
     {
       return !(*this == rhs);
     }