From d0d0f55375f098318e5493552ac547b9698578a8 Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Tue, 28 May 2024 10:31:55 +0200 Subject: [PATCH] Drop unused comparison templates (#610) Co-authored-by: jmcarcell --- include/podio/utilities/MaybeSharedPtr.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/podio/utilities/MaybeSharedPtr.h b/include/podio/utilities/MaybeSharedPtr.h index 30fc6ce02..399db67fe 100644 --- a/include/podio/utilities/MaybeSharedPtr.h +++ b/include/podio/utilities/MaybeSharedPtr.h @@ -151,14 +151,6 @@ void swap(MaybeSharedPtr& a, MaybeSharedPtr& b) { template \ bool operator op(const MaybeSharedPtr& lhs, const MaybeSharedPtr& rhs) { \ return lhs.m_ptr op rhs.m_ptr; \ - } \ - template \ - bool operator op(const MaybeSharedPtr& lhs, const U* rhs) { \ - return lhs.m_ptr op rhs; \ - } \ - template \ - bool operator op(const U* lhs, const MaybeSharedPtr& rhs) { \ - return lhs op rhs.m_ptr; \ } DEFINE_COMPARISON_OPERATOR(==)