diff --git a/Kernel/Net/Routing.cpp b/Kernel/Net/Routing.cpp index b75e57d1a3..811faf9f90 100644 --- a/Kernel/Net/Routing.cpp +++ b/Kernel/Net/Routing.cpp @@ -18,7 +18,7 @@ namespace Kernel { static Singleton>> s_arp_table; -class ARPTableBlocker : public Thread::Blocker { +class ARPTableBlocker final : public Thread::Blocker { public: ARPTableBlocker(IPv4Address ip_addr, Optional& addr); diff --git a/Kernel/Thread.h b/Kernel/Thread.h index e2e182718a..c78193c703 100644 --- a/Kernel/Thread.h +++ b/Kernel/Thread.h @@ -525,7 +525,7 @@ public: bool m_should_block { true }; }; - class QueueBlocker : public Blocker { + class QueueBlocker final : public Blocker { public: explicit QueueBlocker(WaitQueue&, StringView block_reason = {}); virtual ~QueueBlocker(); @@ -547,7 +547,7 @@ public: bool m_did_unblock { false }; }; - class FutexBlocker : public Blocker { + class FutexBlocker final : public Blocker { public: explicit FutexBlocker(FutexQueue&, u32); virtual ~FutexBlocker();