refactor: remove redundant != operators c++20 std will generate the !=operator as long as the class has an ==operator

This commit is contained in:
sithlord48
2025-07-31 22:46:01 -04:00
committed by Chris Rizzitello
parent c2db28a624
commit e69be64773
8 changed files with 0 additions and 46 deletions

View File

@ -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();