Skip to content

Commit

Permalink
Fix compiler warning on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
SimulPiscator committed Jan 7, 2024
1 parent 59ab4e4 commit 517e935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zeroconf/networkhotplugnotifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace {
// Return true if a sorts smaller/less than b.
struct CompareAddresses
{
bool operator()(const HttpServer::Sockaddr& a, const HttpServer::Sockaddr& b)
bool operator()(const HttpServer::Sockaddr& a, const HttpServer::Sockaddr& b) const
{
if (a.sa.sa_family != b.sa.sa_family)
return a.sa.sa_family < b.sa.sa_family;
Expand Down

0 comments on commit 517e935

Please sign in to comment.