From 863c14c4f4f2c8d91db0935f668629f331da1b57 Mon Sep 17 00:00:00 2001 From: brapru Date: Fri, 29 Apr 2022 22:54:06 -0400 Subject: [PATCH] Kernel: Make Route's operator== overload const --- Kernel/Net/Routing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }