Skip to content

Commit

Permalink
Remove unecessary comparison operator definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Jul 18, 2024
1 parent 4e79826 commit f75dfa8
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions include/uibase/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,26 +108,6 @@ inline bool operator==(const Version& lhs, const Version& rhs)
{
return (lhs <=> rhs) == 0;
}
inline bool operator!=(const Version& lhs, const Version& rhs)
{
return (lhs <=> rhs) != 0;
}
inline bool operator<(const Version& lhs, const Version& rhs)
{
return (lhs <=> rhs) < 0;
}
inline bool operator>(const Version& lhs, const Version& rhs)
{
return (lhs <=> rhs) > 0;
}
inline bool operator<=(const Version& lhs, const Version& rhs)
{
return (lhs <=> rhs) <= 0;
}
inline bool operator>=(const Version& lhs, const Version& rhs)
{
return (lhs <=> rhs) >= 0;
}

} // namespace MOBase

Expand Down

0 comments on commit f75dfa8

Please sign in to comment.