Skip to content

Commit

Permalink
Add definition of inequality operator
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jul 19, 2024
1 parent e2c2a89 commit faffbd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/podio/detail/Association.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ class AssociationT {
return m_obj == other.m_obj;
}

bool operator!=(const AssociationT& other) const {
return !(*this == other);
}

bool operator<(const AssociationT& other) const {
return m_obj < other.m_obj;
}
Expand Down

0 comments on commit faffbd7

Please sign in to comment.