(svn r16134) -Change: do not add duplicates to the broadcast list
This commit is contained in:
@@ -207,6 +207,15 @@ public:
|
||||
{
|
||||
return const_cast<NetworkAddress*>(this)->CompareTo(address) == 0;
|
||||
}
|
||||
/**
|
||||
* Compare the address of this class with the address of another.
|
||||
* @param address the other address.
|
||||
* @return true if both do not match.
|
||||
*/
|
||||
bool operator != (NetworkAddress address) const
|
||||
{
|
||||
return const_cast<NetworkAddress*>(this)->CompareTo(address) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Compare the address of this class with the address of another.
|
||||
|
||||
Reference in New Issue
Block a user