Skip to content

Commit

Permalink
Update delegate.impl.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
oktonion committed Sep 15, 2024
1 parent ba7f7a3 commit ad71f3d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions delegates/delegate.impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,13 +510,7 @@ namespace delegates

bool operator>(const delegate &other) const
{
if (!detail::compare_equal(caller_, other.caller_))
return detail::compare_greater(caller_, other.caller_);
if (!detail::compare_equal(comparator_, other.comparator_))
return detail::compare_greater(comparator_, other.comparator_);
if (NULL != comparator_)
return comparator_(*this, other, detail::greater);
return false;
return other < *this;
}

inline
Expand Down

0 comments on commit ad71f3d

Please sign in to comment.