mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Kernel: Make Route's operator== overload const
This commit is contained in:
@@ -23,7 +23,7 @@ struct Route : public RefCounted<Route> {
|
||||
{
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user