diff --git a/Kernel/Net/Routing.h b/Kernel/Net/Routing.h index 721c64d6cbc..b0db0baf2e5 100644 --- a/Kernel/Net/Routing.h +++ b/Kernel/Net/Routing.h @@ -23,7 +23,7 @@ struct Route : public RefCounted { { } - bool operator==(Route const& other) + bool operator==(Route const& other) const { return destination == other.destination && gateway == other.gateway && netmask == other.netmask && adapter.ptr() == other.adapter.ptr(); }