diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-08-24 11:48:45 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-08-24 11:48:45 +0200 |
commit | 451314241dc40c4e3be600ef95a4f4fbd322f701 (patch) | |
tree | 1c55abe5e0027df578a792015254e4b95b8e6d80 /src/common/Utilities/Util.h | |
parent | 343d09bc95ade0cc34f953b56cbe666baca387fc (diff) |
Core/Misc: Modernize comparison operators
(cherry picked from commit f0a862e71bc12d86a898901ef773475a7c964832)
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r-- | src/common/Utilities/Util.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h index d37b86f85e5..62c8655b65f 100644 --- a/src/common/Utilities/Util.h +++ b/src/common/Utilities/Util.h @@ -417,18 +417,6 @@ public: part[2] = p3; } - inline bool operator<(flag96 const& right) const - { - for (uint8 i = 3; i > 0; --i) - { - if (part[i - 1] < right.part[i - 1]) - return true; - else if (part[i - 1] > right.part[i - 1]) - return false; - } - return false; - } - inline bool operator==(flag96 const& right) const { return |