mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fix code style for pointer and references.
Change-Id: I3ca5988f09aa4f81946dc3e53116c8151a981024
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace NtImpl {
|
||||
|
||||
bool operator< (const SequenceNumber &lhs, const SequenceNumber &rhs)
|
||||
bool operator< (const SequenceNumber& lhs, const SequenceNumber& rhs)
|
||||
{
|
||||
if (lhs.m_val < rhs.m_val)
|
||||
return (rhs.m_val - lhs.m_val) < (1u<<15);
|
||||
@@ -19,7 +19,7 @@ bool operator< (const SequenceNumber &lhs, const SequenceNumber &rhs)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool operator> (const SequenceNumber &lhs, const SequenceNumber &rhs)
|
||||
bool operator> (const SequenceNumber& lhs, const SequenceNumber& rhs)
|
||||
{
|
||||
if (lhs.m_val < rhs.m_val)
|
||||
return (rhs.m_val - lhs.m_val) > (1u<<15);
|
||||
|
||||
Reference in New Issue
Block a user