Brenton/curly braces (#1971)
* fix formatting * properly adjust various lines breakup multiple statements onto multiple lines * insert {} around if, for, etc.
This commit is contained in:
parent
e6802690b8
commit
f73e51e94c
57 changed files with 2247 additions and 1082 deletions
|
@ -92,10 +92,11 @@ public:
|
|||
inline bool operator!=(const MulticastGroup &g) const { return ((_mac != g._mac)||(_adi != g._adi)); }
|
||||
inline bool operator<(const MulticastGroup &g) const
|
||||
{
|
||||
if (_mac < g._mac)
|
||||
if (_mac < g._mac) {
|
||||
return true;
|
||||
else if (_mac == g._mac)
|
||||
} else if (_mac == g._mac) {
|
||||
return (_adi < g._adi);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
inline bool operator>(const MulticastGroup &g) const { return (g < *this); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue