Skip to content

Commit

Permalink
Merge pull request #1424 from DLR-AMR/fix-strong_types_warning
Browse files Browse the repository at this point in the history
Fix operator warning
  • Loading branch information
Davknapp authored Feb 20, 2025
2 parents 5e8ede8 + f70e088 commit d3a36e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/t8_types/t8_operators.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@ struct Swapable: t8_crtp_operator<TUnderlying, Swapable>
template <typename TUnderlying>
struct EqualityComparable: t8_crtp_operator<TUnderlying, EqualityComparable>
{
constexpr bool
operator== (TUnderlying const& other) const noexcept
friend constexpr bool
operator== (const TUnderlying& lhs, const TUnderlying& rhs) noexcept
{
return this->underlying ().get () == other.get ();
return lhs.get () == rhs.get ();
}
};

Expand Down

0 comments on commit d3a36e2

Please sign in to comment.