Skip to content
Snippets Groups Projects
Commit 99b7a073 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

sockaddr: make ipCmp comparator const

parent 756e0bd3
Branches
Tags
No related merge requests found
......@@ -74,7 +74,7 @@ public:
* first 64 bits in IPv6.
*/
struct ipCmp {
bool operator()(const SockAddr& a, const SockAddr& b) {
bool operator()(const SockAddr& a, const SockAddr& b) const {
if (a.second != b.second)
return a.second < b.second;
socklen_t start, len;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment