mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:07:36 +00:00
Kernel: Make Route's operator== overload const
This commit is contained in:
parent
d83f2e2ea6
commit
863c14c4f4
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
return destination == other.destination && gateway == other.gateway && netmask == other.netmask && adapter.ptr() == other.adapter.ptr();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue