diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-16 13:44:41 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-16 13:44:41 +0200 |
commit | 3dac1f8ac5d765e5076c50d63a5e3d0c8509973e (patch) | |
tree | fd4b3dbdb05c3159c78f047469c9dfc93ae3a068 /Kernel/FileSystem/DevPtsFS.h | |
parent | 89c60641414761e349c63868140fc3c3269ddd1e (diff) | |
download | serenity-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.h | 2 |
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(); |