Skip to content

Commit

Permalink
Improve clarity with more braces
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman authored Mar 16, 2024
1 parent ee0a5ab commit cb1d8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/acn/LLRPHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class LLRPHeader {
uint32_t TransactionNumber() const { return m_transaction_number; }

bool operator==(const LLRPHeader &other) const {
return m_destination_cid == other.m_destination_cid &&
m_transaction_number == other.m_transaction_number;
return ((m_destination_cid == other.m_destination_cid) &&
(m_transaction_number == other.m_transaction_number));
}

PACK(
Expand Down

0 comments on commit cb1d8f7

Please sign in to comment.