mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
Kernel: Make Route's operator== overload const
This commit is contained in:
parent
d83f2e2ea6
commit
863c14c4f4
Notes:
sideshowbarker
2024-07-17 11:26:05 +09:00
Author: https://github.com/brapru Commit: https://github.com/SerenityOS/serenity/commit/863c14c4f4 Pull-request: https://github.com/SerenityOS/serenity/pull/13844
@ -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 New Issue
Block a user