Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79cda86

Browse files
committed
Fix build warnings / typos
1 parentfe80caa commit79cda86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎api/IPAddress.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ IPAddress& IPAddress::operator=(uint32_t address)
238238
bool IPAddress::operator==(const IPAddress& addr)const {
239239
return (addr._type == _type)
240240
&& (memcmp(addr._address.bytes, _address.bytes,sizeof(_address.bytes)) ==0);
241-
};
241+
}
242242

243243
bool IPAddress::operator==(constuint8_t* addr)const
244244
{
@@ -252,14 +252,14 @@ uint8_t IPAddress::operator[](int index) const {
252252
return _address.bytes[IPADDRESS_V4_BYTES_INDEX + index];
253253
}
254254
return _address.bytes[index];
255-
};
255+
}
256256

257257
uint8_t& IPAddress::operator[](int index) {
258258
if (_type == IPv4) {
259259
return _address.bytes[IPADDRESS_V4_BYTES_INDEX + index];
260260
}
261261
return _address.bytes[index];
262-
};
262+
}
263263

264264
size_tIPAddress::printTo(Print& p)const
265265
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp