From: Otto Moerbeek Date: Tue, 17 May 2022 15:57:28 +0000 (+0200) Subject: Zap binary function, not needed and deprecated in c++11, removed in c++17 X-Git-Tag: auth-4.8.0-alpha0~100^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11626%2Fhead;p=thirdparty%2Fpdns.git Zap binary function, not needed and deprecated in c++11, removed in c++17 --- diff --git a/pdns/zonemd.hh b/pdns/zonemd.hh index 63551fec3e..acb402d250 100644 --- a/pdns/zonemd.hh +++ b/pdns/zonemd.hh @@ -107,7 +107,7 @@ private: typedef std::pair RRSetKey_t; typedef std::vector> RRVector_t; - struct CanonRRSetKeyCompare : public std::binary_function + struct CanonRRSetKeyCompare { bool operator()(const RRSetKey_t& a, const RRSetKey_t& b) const {