diff --git a/src/lib/mt/Thread.cpp b/src/lib/mt/Thread.cpp index 926c5ac9a..bdc1bcdfb 100644 --- a/src/lib/mt/Thread.cpp +++ b/src/lib/mt/Thread.cpp @@ -108,11 +108,6 @@ bool Thread::operator==(const Thread &thread) const return ARCH->isSameThread(m_thread, thread.m_thread); } -bool Thread::operator!=(const Thread &thread) const -{ - return !ARCH->isSameThread(m_thread, thread.m_thread); -} - void *Thread::threadFunc(void *vjob) { // get this thread's id for logging diff --git a/src/lib/mt/Thread.h b/src/lib/mt/Thread.h index 9fec031ab..5429ea1a3 100644 --- a/src/lib/mt/Thread.h +++ b/src/lib/mt/Thread.h @@ -180,13 +180,6 @@ public: Returns true if two Thread objects refer to the same thread. */ bool operator==(const Thread &) const; - - //! Compare thread handles - /*! - Returns true if two Thread objects do not refer to the same thread. - */ - bool operator!=(const Thread &) const; - //@} private: diff --git a/src/lib/net/NetworkAddress.cpp b/src/lib/net/NetworkAddress.cpp index b8e232839..e6f84569f 100644 --- a/src/lib/net/NetworkAddress.cpp +++ b/src/lib/net/NetworkAddress.cpp @@ -176,11 +176,6 @@ bool NetworkAddress::operator==(const NetworkAddress &addr) const return m_address == addr.m_address || ARCH->isEqualAddr(m_address, addr.m_address); } -bool NetworkAddress::operator!=(const NetworkAddress &addr) const -{ - return !operator==(addr); -} - bool NetworkAddress::isValid() const { return (m_address != nullptr); diff --git a/src/lib/net/NetworkAddress.h b/src/lib/net/NetworkAddress.h index c23099c1b..b3b317778 100644 --- a/src/lib/net/NetworkAddress.h +++ b/src/lib/net/NetworkAddress.h @@ -70,12 +70,6 @@ public: */ bool operator==(const NetworkAddress &address) const; - //! Check address inequality - /*! - Returns true if this address is not equal to \p address. - */ - bool operator!=(const NetworkAddress &address) const; - //! Check address validity /*! Returns true if this is not the invalid address. diff --git a/src/lib/server/Config.cpp b/src/lib/server/Config.cpp index 558348d79..0e39f2dd4 100644 --- a/src/lib/server/Config.cpp +++ b/src/lib/server/Config.cpp @@ -1438,11 +1438,6 @@ bool Config::CellEdge::operator==(const CellEdge &x) const return (m_side == x.m_side && m_interval == x.m_interval); } -bool Config::CellEdge::operator!=(const CellEdge &x) const -{ - return !operator==(x); -} - // // Config::Cell // @@ -1566,11 +1561,6 @@ bool Config::Cell::operator==(const Cell &x) const return true; } -bool Config::Cell::operator!=(const Cell &x) const -{ - return !operator==(x); -} - Config::Cell::const_iterator Config::Cell::begin() const { return m_neighbors.begin(); diff --git a/src/lib/server/Config.h b/src/lib/server/Config.h index 2587d40ef..826ed0ef8 100644 --- a/src/lib/server/Config.h +++ b/src/lib/server/Config.h @@ -81,7 +81,6 @@ public: // compares side and interval bool operator==(const CellEdge &) const; - bool operator!=(const CellEdge &) const; private: void init(const std::string_view &name, Direction side, const Interval &); @@ -125,7 +124,6 @@ private: bool getLink(Direction side, float position, const CellEdge *&src, const CellEdge *&dst) const; bool operator==(const Cell &) const; - bool operator!=(const Cell &) const; const_iterator begin() const; const_iterator end() const; @@ -189,10 +187,6 @@ public: { return (m_i == i.m_i); } - bool operator!=(const const_iterator &i) const - { - return (m_i != i.m_i); - } private: internal_const_iterator m_i; diff --git a/src/lib/server/InputFilter.cpp b/src/lib/server/InputFilter.cpp index ef4a78ebd..04c82d7c3 100644 --- a/src/lib/server/InputFilter.cpp +++ b/src/lib/server/InputFilter.cpp @@ -873,11 +873,6 @@ bool InputFilter::operator==(const InputFilter &x) const return (aList == bList); } -bool InputFilter::operator!=(const InputFilter &x) const -{ - return !operator==(x); -} - void InputFilter::handleEvent(const Event &event) { // copy event and adjust target diff --git a/src/lib/server/InputFilter.h b/src/lib/server/InputFilter.h index c23812a4b..5e7e6e878 100644 --- a/src/lib/server/InputFilter.h +++ b/src/lib/server/InputFilter.h @@ -383,8 +383,6 @@ public: //! Compare filters bool operator==(const InputFilter &) const; - //! Compare filters - bool operator!=(const InputFilter &) const; private: // event handling