0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-25 22:30:51 +08:00

Fix 4629 compile warning in endpoint.hpp

This commit is contained in:
Nehal Patel 2023-11-18 23:17:39 -08:00 committed by Luca Boccassi
parent 814dab58a4
commit b268effd88

View File

@ -29,7 +29,7 @@ struct endpoint_uri_pair_t
return local_type == endpoint_type_bind ? local : remote;
}
const bool clash () const { return local == remote; }
bool clash () const { return local == remote; }
std::string local, remote;
endpoint_type_t local_type;