diff --git a/Kernel/Devices/KeyboardDevice.h b/Kernel/Devices/KeyboardDevice.h index 37472daf4d..8a90694d94 100644 --- a/Kernel/Devices/KeyboardDevice.h +++ b/Kernel/Devices/KeyboardDevice.h @@ -15,7 +15,7 @@ class KeyboardDevice final : public IRQHandler public: using Event = KeyEvent; - [[gnu::pure]] static KeyboardDevice& the(); + static KeyboardDevice& the(); virtual ~KeyboardDevice() override; KeyboardDevice(); diff --git a/Kernel/FileSystem/DevPtsFS.h b/Kernel/FileSystem/DevPtsFS.h index b285814cf5..c834b82156 100644 --- a/Kernel/FileSystem/DevPtsFS.h +++ b/Kernel/FileSystem/DevPtsFS.h @@ -8,7 +8,7 @@ class SlavePTY; class DevPtsFS final : public SynthFS { public: - [[gnu::pure]] static DevPtsFS& the(); + static DevPtsFS& the(); virtual ~DevPtsFS() override; static NonnullRefPtr create(); diff --git a/Kernel/FileSystem/ProcFS.h b/Kernel/FileSystem/ProcFS.h index 1adf44705c..14019b4fd5 100644 --- a/Kernel/FileSystem/ProcFS.h +++ b/Kernel/FileSystem/ProcFS.h @@ -13,7 +13,7 @@ class ProcFS final : public FS { friend class ProcFSInode; public: - [[gnu::pure]] static ProcFS& the(); + static ProcFS& the(); virtual ~ProcFS() override; static NonnullRefPtr create(); diff --git a/Kernel/FileSystem/VirtualFileSystem.h b/Kernel/FileSystem/VirtualFileSystem.h index adf82d0b66..230dadb7ad 100644 --- a/Kernel/FileSystem/VirtualFileSystem.h +++ b/Kernel/FileSystem/VirtualFileSystem.h @@ -51,7 +51,7 @@ public: RefPtr m_host_custody; }; - [[gnu::pure]] static VFS& the(); + static VFS& the(); VFS(); ~VFS(); diff --git a/Kernel/VM/MemoryManager.h b/Kernel/VM/MemoryManager.h index b3d59338d6..002911baae 100644 --- a/Kernel/VM/MemoryManager.h +++ b/Kernel/VM/MemoryManager.h @@ -40,7 +40,7 @@ class MemoryManager { friend ByteBuffer procfs$memstat(InodeIdentifier); public: - [[gnu::pure]] static MemoryManager& the(); + static MemoryManager& the(); static void initialize();