Codechange: replace x.size() == 0 with x.empty()
This commit is contained in:
@@ -703,7 +703,7 @@ void GetBindAddresses(NetworkAddressList *addresses, uint16_t port)
|
||||
}
|
||||
|
||||
/* No address, so bind to everything. */
|
||||
if (addresses->size() == 0) {
|
||||
if (addresses->empty()) {
|
||||
addresses->emplace_back("", port);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user