diff --git a/libraries/networking/src/udt/SeqNum.h b/libraries/networking/src/udt/SeqNum.h index 5f541b0c36..5ae85f3dcf 100644 --- a/libraries/networking/src/udt/SeqNum.h +++ b/libraries/networking/src/udt/SeqNum.h @@ -96,19 +96,19 @@ private: inline bool operator<(const SeqNum& a, const SeqNum& b) { - + return (glm::abs(a._value - b._value) < SeqNum::THRESHOLD) ? a._value < b._value : b._value < a._value; } inline bool operator>(const SeqNum& a, const SeqNum& b) { - + return (glm::abs(a._value - b._value) < SeqNum::THRESHOLD) ? a._value > b._value : b._value > a._value; } inline bool operator<=(const SeqNum& a, const SeqNum& b) { - + return (glm::abs(a._value - b._value) < SeqNum::THRESHOLD) ? a._value <= b._value : b._value <= a._value; } inline bool operator>=(const SeqNum& a, const SeqNum& b) { - + return (glm::abs(a._value - b._value) < SeqNum::THRESHOLD) ? a._value >= b._value : b._value >= a._value; }