summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/DevPtsFS.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-16 13:44:41 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-16 13:44:41 +0200
commit3dac1f8ac5d765e5076c50d63a5e3d0c8509973e (patch)
treefd4b3dbdb05c3159c78f047469c9dfc93ae3a068 /Kernel/FileSystem/DevPtsFS.h
parent89c60641414761e349c63868140fc3c3269ddd1e (diff)
downloadserenity-3dac1f8ac5d765e5076c50d63a5e3d0c8509973e.zip
Kernel: Remove use of [[gnu::pure]].
I was messing around with this to tell the compiler that these functions always return the same value no matter how many times you call them. It doesn't really seem to improve code generation and it looks weird so let's just get rid of it.
Diffstat (limited to 'Kernel/FileSystem/DevPtsFS.h')
-rw-r--r--Kernel/FileSystem/DevPtsFS.h2
1 files changed, 1 insertions, 1 deletions
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<DevPtsFS> create();