Skip to content

Commit

Permalink
squelch warnings from sid
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Jul 30, 2022
1 parent a434efa commit c28c092
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions llarp/net/sock_addr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ namespace llarp
{
return memcmp(&lh, &rh, sizeof(in6_addr)) == 0;
}

bool
operator<(const in6_addr& lh, const in6_addr& rh)
{
return memcmp(&lh, &rh, sizeof(in6_addr)) < 0;
}
/// shared utility functions
///

Expand Down

0 comments on commit c28c092

Please sign in to comment.