File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ IPAddress& IPAddress::operator=(uint32_t address)
238
238
bool IPAddress::operator ==(const IPAddress& addr) const {
239
239
return (addr._type == _type)
240
240
&& (memcmp (addr._address .bytes , _address.bytes , sizeof (_address.bytes )) == 0 );
241
- };
241
+ }
242
242
243
243
bool IPAddress::operator ==(const uint8_t * addr) const
244
244
{
@@ -252,14 +252,14 @@ uint8_t IPAddress::operator[](int index) const {
252
252
return _address.bytes [IPADDRESS_V4_BYTES_INDEX + index ];
253
253
}
254
254
return _address.bytes [index ];
255
- };
255
+ }
256
256
257
257
uint8_t & IPAddress::operator [](int index) {
258
258
if (_type == IPv4) {
259
259
return _address.bytes [IPADDRESS_V4_BYTES_INDEX + index ];
260
260
}
261
261
return _address.bytes [index ];
262
- };
262
+ }
263
263
264
264
size_t IPAddress::printTo (Print& p) const
265
265
{
You can’t perform that action at this time.
0 commit comments