X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/9bfb1136abfd58e48545304507dedceb2fe87a36..c368b3abe198f59d5bd4d715a801e1b187b698a7:/apt-pkg/contrib/srvrec.h?ds=sidebyside diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h index 920b6bb32..01b810281 100644 --- a/apt-pkg/contrib/srvrec.h +++ b/apt-pkg/contrib/srvrec.h @@ -12,7 +12,6 @@ #include #include #include -#include class SrvRec { @@ -30,9 +29,7 @@ class SrvRec bool operator<(SrvRec const &other) const { return this->priority < other.priority; } - bool operator==(SrvRec const &other) const { - return std::tie(target, priority, weight, port) == std::tie(other.target, other.priority, other.weight, other.port); - } + bool operator==(SrvRec const &other) const; SrvRec(std::string const Target, u_int16_t const Priority, u_int16_t const Weight, u_int16_t const Port) :