File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,6 @@ bool IPAddress::operator==(const IPAddress& addr) const
114114 && (memcmp (addr._address .bytes , _address.bytes , sizeof (_address.bytes )) == 0 );
115115}
116116
117- bool IPAddress::operator !=(const IPAddress& addr) const
118- {
119- return (addr._type != _type)
120- || (memcmp (addr._address .bytes , _address.bytes , sizeof (_address.bytes )) != 0 );
121- }
122-
123117bool IPAddress::operator ==(const uint8_t * addr) const
124118{
125119 // IPv4 only comparison to byte pointer
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ class IPAddress: public Printable
7575 }
7676
7777 bool operator ==(const IPAddress& addr) const ;
78- bool operator !=(const IPAddress& addr) const ;
7978 bool operator ==(const uint8_t * addr) const ;
8079
8180 // Overloaded index operator to allow getting and setting individual octets of the address
You can’t perform that action at this time.
0 commit comments