mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Kernel: Make Route's operator== overload const
This commit is contained in:
parent
d83f2e2ea6
commit
863c14c4f4
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue