From faffbd712e5494b68bc79794a4ad7deca459b988 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Fri, 19 Jul 2024 17:03:58 +0200 Subject: [PATCH] Add definition of inequality operator --- include/podio/detail/Association.h | 4 ++++ 1 file changed, 4 insertions(+) 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; }