Skip to content

Commit

Permalink
Drop unused comparison templates (#610)
Browse files Browse the repository at this point in the history
Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored May 28, 2024
1 parent e28adf7 commit d0d0f55
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/podio/utilities/MaybeSharedPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ void swap(MaybeSharedPtr<T>& a, MaybeSharedPtr<T>& b) {
template <typename U> \
bool operator op(const MaybeSharedPtr<U>& lhs, const MaybeSharedPtr<U>& rhs) { \
return lhs.m_ptr op rhs.m_ptr; \
} \
template <typename U> \
bool operator op(const MaybeSharedPtr<U>& lhs, const U* rhs) { \
return lhs.m_ptr op rhs; \
} \
template <typename U> \
bool operator op(const U* lhs, const MaybeSharedPtr<U>& rhs) { \
return lhs op rhs.m_ptr; \
}

DEFINE_COMPARISON_OPERATOR(==)
Expand Down

0 comments on commit d0d0f55

Please sign in to comment.