File tree 2 files changed +0
-7
lines changed
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
114
114
&& (memcmp (addr._address .bytes , _address.bytes , sizeof (_address.bytes )) == 0 );
115
115
}
116
116
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
-
123
117
bool IPAddress::operator ==(const uint8_t * addr) const
124
118
{
125
119
// IPv4 only comparison to byte pointer
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ class IPAddress: public Printable
75
75
}
76
76
77
77
bool operator ==(const IPAddress& addr) const ;
78
- bool operator !=(const IPAddress& addr) const ;
79
78
bool operator ==(const uint8_t * addr) const ;
80
79
81
80
// 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