summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-22 15:34:16 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-23 00:02:09 +0200
commit8000e8a0808230f092f0e5aa9ec18c204c954f77 (patch)
treec8b4a5d861b819ffbb84b19874ac625ad6672f4a
parent53019f413cefb67893028eb7a0366975622070cb (diff)
downloadserenity-8000e8a0808230f092f0e5aa9ec18c204c954f77.zip
Kernel: Mark Thread::Blocker leaf subclasses final
-rw-r--r--Kernel/Net/Routing.cpp2
-rw-r--r--Kernel/Thread.h4
2 files changed, 3 insertions, 3 deletions
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<MutexProtected<HashMap<IPv4Address, MACAddress>>> s_arp_table;
-class ARPTableBlocker : public Thread::Blocker {
+class ARPTableBlocker final : public Thread::Blocker {
public:
ARPTableBlocker(IPv4Address ip_addr, Optional<MACAddress>& 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();