diff --git a/include/podio/detail/Association.h b/include/podio/detail/Association.h index 381459e8f..b4db89831 100644 --- a/include/podio/detail/Association.h +++ b/include/podio/detail/Association.h @@ -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; }